pycatia.navigator_interfaces.marker_3Ds¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
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.navigator_interfaces.marker_3Ds.Marker3Ds(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionMarker3DsA collection of Marker3D objects.The method Product.GetTechnologicalObject (“Marker3Ds”) on the root productretrieves this collection.- add3_d_text(i_text_coordinates: tuple, i_text: str, i_object_coordinates: tuple, i_object: AnyObject) → Marker3D¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Add3DText(CATSafeArrayVariant iTextCoordinates,CATBSTR iText,CATSafeArrayVariant iObjectCoordinates,AnyObject iObject) As Marker3DCreates a text marker 3D and adds it to the marker 3D collection. Thebottom-left corner of the text is anchored to a givenpoint.Parameters:iTextCoordinatesThe coordinates of the text anchor pointiTextCoordinates(0) is the X coordinate of the text anchorpointiTextCoordinates(1) is the Y coordinate of the text anchorpointiTextCoordinates(2) is the Z coordinate of the text anchorpointiTextThe textiObjectCoordinatesThe coordinates of the anchor of the marker 3D on theobjectiObjectCoordinates(0) is the X coordinate of the object anchorpointiObjectCoordinates(1) is the Y coordinate of the object anchorpointiObjectCoordinates(2) is the Z coordinate of the object anchorpointiObjectThe object which supports the text.Returns:The created marker 3DExample:This example creates a new marker 3D in the TheMarker3Dscollection.Dim NewMarker3DText As Marker3DSet NewMarker3DText = TheMarker3Ds.Add3DText(Position1, “example”, Position2, Product2)
- item(i_index: cat_variant) → Marker3D¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As Marker3DReturns a marker 3D using its index from the Marker3Dscollection.Parameters:iIndexThe index or the name of the marker 3D to retrieve from thecollection of Marker3Ds. As a numerics, this index is the rank of the marker 3Din the collection. The index of the first Marker3D in the collection is 1, andthe index of the last Marker3D is Count. As a string, it is the name youassigned to the Marker3D.Returns:The retrieved marker 3DExample:This example retrieves in ThisMarker3D the ninth marker3D,and in ThatMarker3D the marker 3D namedMarker3D3 from the TheMarker3Ds collection.Dim ThisMarker3D As Marker3DSet ThisMarker3D = TheMarker3Ds.Item(9)Dim ThatMarker3D As Marker3DSet ThatMarker3D = TheMarker3Ds.Item(“Marker3D3”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) → None¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub Remove(CATVariant iIndex)Removes a marker 3D from the Marker3Ds collection.Parameters:iIndexThe index or the name of the marker 3D to retrieve from thecollection of Marker3Ds. As a numerics, this index is the rank of the marker 3Din the collection. The index of the first marker 3D in the collection is 1, andthe index of the last marker 3D is Count. As a string, it is the name youassigned to the marker 3D.Example:The following example removes the tenth marker 3D and the marker3D namedMarker3D2 from the TheMarker3Ds collection.TheMarker3Ds.Remove(10)TheMarker3Ds.Remove(“Marker3D2”)
- Parameters:
i_index (cat_variant) –
- Return type:
None