pycatia.knowledge_interfaces.parameter_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.knowledge_interfaces.parameter_sets.ParameterSets(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionParameterSetsRepresents a collection of parameter sets.The ParameterSet object is a neutral object that contains parameters, like theParameters node in the specification tree.The following example shows how to retrieve it on a part:Dim CATDocs As DocumentsSet CATDocs = CATIA.DocumentsDim part1 As DocumentSet part1 = CATDocs.Add(“CATPart”)Dim parameters1 As ParametersSet parameters1 = part1.Part.ParametersDim ParameterSet1 As ParameterSetSet ParameterSet1 = parameters1.RootParameterSetDim parameterSets1 As ParameterSetsSet parameterSets1 = parameterSet1.ParameterSetsThis collection is not a collection of all parameter sets of a document, but acollection of all parameter sets in the current parameter set.- create_set(i_name: str) ParameterSet ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func CreateSet(CATBSTR iName) As ParameterSetCreates a set of parameters and appends it to the parameter set whichcorresponds to this collection.
- Parameters:
i_name (str) –
- Return type:
- item(i_index: cat_variant) ParameterSet ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(CATVariant iIndex) As ParameterSetReturns a parameter set using its index or its name from the ParameterSetscollection.Parameters:iIndexThe index or the name of the parameter set to retrieve from thecollection of parameter sets. As a numerics, this index is the rank of theparameter set in the collection. The index of the first parameter set in thecollection is 1, and the index of the last parameter set is Count. As a string,it is the name you assigned to the parameter set using theAnyObject.Name property .Example:This example retrieves the parameter set named “Parameters.1” in theparameterSets collection:Set theSet = parameterSets.Item(“Parameters.1”)
- Parameters:
i_index (cat_variant) –
- Return type: