pycatia.dnb_state_interfaces.dnb_3d_states¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.dnb_state_interfaces.dnb_3d_states.DNB3DStates(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionDNB3DStatesInterface representing the collection of 3D State objects.Role: Provides access to 3D State objects- item(i_index: cat_variant) DNB3DState ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As DNB3DStateReturns the 3D state object.Parameters:iIndexThe index to the item to be returnedReturns:The 3D State objectExample:This example returns the first item from the collection 3DstatesDim list3DStates as DNB3DStatesSet list3DStates = positionMgt.ListAll3DStatesDim my3DState As DNB3DStateSet my3DState = list3DStates.Item(1)
- Parameters:
i_index (cat_variant) –
- Return type:
- property states_count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property StatesCount() As long (Read Only)Returns the number of 3D State objects in the collection.Example:This example fetches the Number of 3D states in thecollectionDim list3DStates as DNB3DStatesSet list3DStates = stateMgt.ListAll3DStatesstateCount = list3DStates.StatesCount
- Return type:
int