All Frameworks  Object Hierarchy  This Framework  Indexes   

Intersect (Object)

Represents the intersect boolean operation.
It is performed between a body and the current shape.

Example

The following example shows how to create a new shape by intersecting two existing pads Pad1 and Pad2, created in two different bodies Body1 and Body2 respectively, using the existing shape factory named shapeFactory.

 ' Make Pad1 the current shape
 CATIA.ActiveDocument.Part.CurrentShape = Pad1
 ' 
 ' Create the intersection between Pad1 and Body2 
 Set NewShape      = shapeFactory.AddNewIntersect(Body2)
 


Copyright © 2003, Dassault Systèmes. All rights reserved.