Item Method

AEC Auto

Item Method

Returns a member object of a collection.

See Also | Example

Signature

RetVal = object.Item(Index)

object

All Collections, AecDisplayConfigurations, AecDisplaySets, AecDisplayRepresentations, AecDisplayComponents, AecMVBlockDisplayRepDefs, AecViewBlockDefs, AecsConnectionNodes
The collection this method applies to.

Index

Variant; input-only
The index location in the collection for the member item to query.
The index must be either an integer or a string. If an integer, the index must be between 0 and N-1, where N is the number of objects in the collection.

RetVal

Object;
The object at the given index location in the collection.

Remarks

This method supports case-sensitive string based iteration. For example, you could reference the Multi-View Block definition named "Fixture1" through the following statement:

Set mvBlock = cMvBlocks.Item("Fixture1")