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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
Viewers

A collection of all the Viewer objects currently attached to a
window.
For a SpecsAndGeomWindow object, the viewer containing the geometry is the
first viewer, and the viewer containing the specification tree is the second
viewer.
item(i_index: int) Viewer

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func Item(long iIndex) As Viewer

Returns a viewer using its index from the Viewers collection. The first
item has the rank 1 in the collection.

Parameters:

iIndex
The index or the name of the viewer to retrieve from the collection
of viewers. As a numerics, this index is the rank of the viewer in the
collection. The index of the first viewer in the collection is 1, and the index
of the last viewer is Count. As a string, it is the name you assigned to the
viewer using the

AnyObject.Name property.
Returns:
The retrieved viewer

Example:
This example returns in MyViewer the second viewer in the
collection.

Dim MyViewer As Viewer
Set MyViewer = Viewer.Item(2)
Parameters:

i_index (int) –

Return type:

Viewer