Boundary (Object)

Topological cell, such as a face, an edge or a vertex.
Role: The Boundary objects are basic topological objects, such as the edge of a Pad. Some of them posess a geometrical feature (planar face, rectilinear edge).
You will create a Boundary object (such as the object, which is derived, indirectly, from the Boundary object) using the , , or method. Then, you pass it to the operator (such as ). Note that, regarding V4 sub-elements, once the data of a CATIA Version 4 Model has been copied to a .CATPart, the sub-elements of the resulting .CATPart are supported by the object.
The lifetime of a Boundary object is limited. In particular, after having call , the Boundary objects are usually no more valid.
See also: Note: objects cannot be selected into the specification tree.

Note:For a object, the object returned by the property is the master shape. For example, if we have:
                         Pad.2
                          !
                          !
 +                        V
 !                      +---+ 
 !                    /   / !
 +-- Pad.1          /   /   !
 !                /   / one +------+
 !               +---+    /       /! <--- Pad.1
 !               !   !  /       /  +
 +-- Pad.2       !   !/       /   /
                 !   +------+   /
                 !          ! /
                 +----------+
 
then, for the number "one", the property returns the Pad.2 automation object (see ).
Example:
This example asks the end user to select an edge (using the object), and creates an edge fillet on this edge:
 Dim InputObjectType(0)
 Set Document = CATIA.ActiveDocument
 Set Selection = Document.Selection
 'We propose to the user that he select an edge
 InputObjectType(0)="TriDimFeatEdge"
 Status=Selection.SelectElement2(InputObjectType,"Select an edge",true)
 if (Status = "cancel") then Exit Sub
 Set EdgeFillet = ShapeFactory.AddNewEdgeFilletWithConstantRadius(Selection.Item(1).Value,1,5.0)
 EdgeFillet.EdgePropagation = 1
 Document.Part.Update