All Frameworks  Object Hierarchy  This Framework  Indexes   

DNB3DStates (Collection)

Interface representing the collection of 3D State objects.

Role: Provides access to 3D State objects


Property Index

StatesCount
Returns the number of 3D State objects in the collection.

Method Index

Item
Returns the 3D state object.

Properties


o Property StatesCount() As (Read Only)
Returns the number of 3D State objects in the collection.
Example:
This example fetches the Number of 3D states in the collection
 Dim list3DStates as DNB3DStates
 Set list3DStates = stateMgt.ListAll3DStates  
 stateCount = list3DStates.StatesCount
 

Methods


o Func Item( iIndex) As
Returns the 3D state object.
Parameters:
iIndex
The index to the item to be returned
Returns:
The 3D State object
Example:
This example returns the first item from the collection 3D states
 Dim list3DStates as DNB3DStates
 Set list3DStates = positionMgt.ListAll3DStates
 Dim my3DState As DNB3DState
 Set my3DState = list3DStates.Item(1)
 

Copyright © 2003, Dassault Systèmes. All rights reserved.