pycatia.in_interfaces.viewers¶
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.viewers.Viewers(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionViewersA collection of all the Viewer objects currently attached to awindow.For a SpecsAndGeomWindow object, the viewer containing the geometry is thefirst viewer, and the viewer containing the specification tree is the secondviewer.- item(i_index: int) Viewer ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(long iIndex) As ViewerReturns a viewer using its index from the Viewers collection. The firstitem has the rank 1 in the collection.Parameters:iIndexThe index or the name of the viewer to retrieve from the collectionof viewers. As a numerics, this index is the rank of the viewer in thecollection. The index of the first viewer in the collection is 1, and the indexof the last viewer is Count. As a string, it is the name you assigned to theviewer using theAnyObject.Name property.Returns:The retrieved viewerExample:This example returns in MyViewer the second viewer in thecollection.Dim MyViewer As ViewerSet MyViewer = Viewer.Item(2)
- Parameters:
i_index (int) –
- Return type: