pycatia.in_interfaces.reference¶
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.in_interfaces.reference.Reference(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectReferenceRepresents an object pointing to another object.This other object can be either a wireframe GeometricElement object such as aplane or a line, or a boundary representation object such as a face, a vertexor an edge. It may be, in particular, a Boundary object. References are createdusing appropriate methods for parts. They are then passed to an object toenable associativity with the referenced object.- compose_with(i_reference: Reference) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func ComposeWith(Reference iReference) As ReferenceComposes a reference with another reference thus creating a new compositereference.Parameters:iReferenceThe reference to be composed with the currentreference.Example:The following example returns in CompositeRef the referenceresulting from the composition of the FirstRef and SecondRefreferences.Dim CompositeRef As ReferenceSet CompositeRef = FirstRef.ComposeWith(SecondRef)
- property display_name: str¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DisplayName() As CATBSTR (Read Only)Returns the name of the referenced object. The name of the referencedobject is either the name displayed in the specification tree for aGeometricElement object or a character string defining the reference for aboundary object.Example:The following example returns in StrName the displayable name ofreference FirstRef:StrName = FirstRef.DisplayName
- Return type:
str