pycatia.mec_mod_interfaces.boundary¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.mec_mod_interfaces.boundary.Boundary(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceBoundaryTopological cell, such as a face, an edge or a vertex.Role: The Boundary objects are basic topological objects, such as the edge of aPad. Some of them posess a geometrical feature (planar face, rectilinearedge).You will create a Boundary object (such as the TriDimFeatEdge object, which isderived, indirectly, from the Boundary object) using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asShapeFactory.AddNewEdgeFilletWithConstantRadius ). Note that, regarding V4sub-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 theBoundary object.The lifetime of a Boundary object is limited. In particular, after having callPart.Update , the Boundary objects are usually no more valid.See also:Face , PlanarFace , CylindricalFaceEdge , TriDimFeatEdge , RectilinearTriDimFeatEdge , BiDimFeatEdge ,RectilinearBiDimFeatEdge , MonoDimFeatEdge ,RectilinearMonoDimFeatEdgeVertex , TriDimFeatVertexOrBiDimFeatVertex ,NotWireBoundaryMonoDimFeatVertex,ZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertexNote: Boundary objects cannot be selected into the specificationtree.Note:For a Boundary object, the object returned by the AnyObject.Parentproperty is the master shape. For example, if we have:Pad.2!!+ V! +—+! / / !+– Pad.1 / / !! / / one +——+! +—+ / /! <— Pad.1! ! ! / / ++– Pad.2 ! !/ / /! +——+ /! ! /+———-+then, for the PlanarFace number “one”, the AnyObject.Parent property returnsthe Pad.2 automation object (see Pad ).Example:This example asks the end user to select an edge (using the TriDimFeatEdgeobject), and creates an edge fillet on this edge:Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select an edgeInputObjectType(0)=”TriDimFeatEdge”Status=Selection.SelectElement2(InputObjectType,”Select anedge”,true)if (Status = “cancel”) then Exit SubSet EdgeFillet = ShapeFactory.AddNewEdgeFilletWithConstantRadius(Selection.Item(1).Value,1,5.0)EdgeFillet.EdgePropagation = 1Document.Part.Update