InfInterfaces Viewers (Collection)
All Frameworks Object Hierarchy This Framework Indexes
Viewers (Collection)
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.
Method Index
Item
Returns a viewer using its index from the Viewers collection.
Methods
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)
Copyright © 2003, Dassault Systèmes. All rights reserved.