pycatia.space_analyses_interfaces.inertias¶
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.space_analyses_interfaces.inertias.Inertias(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionInertiasA collection of all inertia objects currently managed by theapplication.WARNING: this collection will be DEPRECATED in the next release. It isrecommended to use the method GetTechnologicalObject(“Inertia”) on the productto analyze, to retrieve an Inertia object.- add(i_object: AnyObject) Inertia ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Add(AnyObject iObject) As InertiaCreates an Inertia object from an object and adds it to the Inertiascollection.Parameters:iObjectThe ObjectReturns:The created InertiaExample:This example creates a new Inertia from a productTheProductin the TheInertias collection.Dim NewInertia As InertiaSet NewInertia = TheInertias.Add(TheProduct)
- item(i_index: cat_variant) Inertia ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As InertiaReturns an Inertia object using its index or its name from the Inertiascollection.Parameters:iIndexThe index or the name of the Inertia to retrieve from thecollection of inertias. As a numerics, this index is the rank of the Inertia inthe collection. The index of the first Inertia in the collection is 1, and theindex of the last Inertia is Count. As a string, it is the name you assigned tothe Inertia.Example:This example retrieves in ThisInertia the ninthInertia,and in ThatInertia the Inertia namedInertia Of MyProduct from the TheInertias collection.Dim ThisInertia As InertiaSet ThisInertia = TheInertias.Item(9)Dim ThatInertia As InertiaSet ThatInertia = TheInertias.Item(“Inertia Of MyProduct”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub Remove(CATVariant iIndex)Removes an Inertia object from the Inertias collection.Parameters:iIndexThe index or the name of the Inertia to remove from the collectionof inertias. As a numerics, this index is the rank of the Inertia in thecollection. The index of the first Inertia in the collection is 1, and theindex of the last Inertia is Count. As a string, it is the name you assigned tothe Inertia.Example:The following example removes the tenth Inertia and the InertianamedInertia Of MyProduct from the TheInertiascollection.TheInertias.Remove(10)TheInertias.Remove(“Inertia Of MyProduct”)
- Parameters:
i_index (cat_variant) –
- Return type:
None