pycatia.knowledge_interfaces.free_parameters¶
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.free_parameters.FreeParameters(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFreeParametersInterface to access a CATIAFreeParameters.- add_free_parameter(parameter: RealParam) FreeParameter ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func AddFreeParameter(RealParam parameter) AsFreeParameterAdds a free parameter. This parameter must not be read only.
- Parameters:
parameter (RealParam) –
- Return type:
- item(i_index: cat_variant) FreeParameter ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(CATVariant iIndex) As FreeParameterRetrieves an optimization using its index or its name from the FreeParameters collection.Parameters:iIndexThe index or the name of the free parameter to retrieve from thecollection of free parameters. As a numerics, this index is the rank of thefree parameter in the collection. The index of the first free parameter in thecollection is 1, and the index of the last free parameter is Count. As astring, it is the name you assigned to the free parameter using theAnyObject.Name property or when changing the free parameter name by theproperty panel.Returns:The retrieved free parameterExample:This example retrieves the last free parameter in the free parameterscollection.Set lastFreeParameter = freeParameters.Item(freeParameters.Count)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove_free_parameter(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub RemoveFreeParameter(CATVariant iIndex)Removes a free parameter.
- Parameters:
i_index (cat_variant) –
- Returns:
None