pycatia.mec_mod_interfaces.tri_dim_feat_edge¶
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.tri_dim_feat_edge.TriDimFeatEdge(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeTriDimFeatEdge1-D boundary belonging to a feature whose topological result is threedimensional.Role: This Boundary object may be, for example, the edge of aPad.You will create a TriDimFeatEdge object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asShapeFactory.AddNewEdgeFilletWithConstantRadius ).The lifetime of a TriDimFeatEdge object is limited, seeBoundary.Example:This example asks the end user to select an edge, and creates an edgefillet 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