pycatia.mec_mod_interfaces.ordered_geometrical_sets¶
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.mec_mod_interfaces.ordered_geometrical_sets.OrderedGeometricalSets(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionOrderedGeometricalSetsA collection of the OrderedGeometricalSet objects.- add() OrderedGeometricalSet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Add() As OrderedGeometricalSetCreates a new ordered geometrical set and adds it to theOrderedGeometricalSets collection. Thisordered geometrical set becomes thecurrent oneReturns:The created ordered geometrical setExample:The following example creates a ordered geometrical set namednewOrderedGeometricalSet in the ordered geometrical set collection of therootPart part in the partDoc part document. NewPartBody becomes the in workobject of partDoc.Set NewPartBody = rootPart.OrderedGeometricalSets.Add()
- Return type:
- item(i_index: cat_variant) OrderedGeometricalSet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As OrderedGeometricalSetReturns a ordered geometrical set using its index or its name from theordered geometrical set collection.Parameters:iIndexThe index or the name of the ordered geometrical set to retrievefrom the collection of ordered geometrical sets. As a numerics, this index isthe rank of the ordered geometrical set in the collection. The index of thefirst ordered geometrical set in the collection is 1, and the index of the lastordered geometrical set is Count. As a string, it is the name you assigned tothe ordered geometrical set using theAnyObject.Name property.Returns:The retrieved ordered geometrical setExample:This example retrieves in ThisOrderedGeometricalSet the fifth orderedgeometrical set in the collection and in ThatOrderedGeometricalSet the orderedgeometrical set named MyOrderedGeometricalSet in the ordered geometrical setcollection of the partDoc part document.Set orderedGeometricalSetColl = partDoc.Part.OrderedGeometricalSetsSet ThisOrderedGeometricalSet = orderedGeometricalSetColl.Item(5)Set ThatOrderedGeometricalSet = orderedGeometricalSetColl.Item(“MyOrderedGeometricalSet”)
- Parameters:
i_index (cat_variant) –
- Return type: