pycatia.cat_str_functional_interfaces.sfm_references¶
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.cat_str_functional_interfaces.sfm_references.SFMReferences(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSfmReferencesA Collection of U and V Reference elements for StandardOpening.- add(i_reference: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Add(Reference iReference)Adds a reference in the collection.Parameters:iReference[in] Reference.Returns:S_OK if everything ran ok.This example Adds one U Reference to the list ofSfmReferences.Dim Uref1 As ReferenceSet Uref1 = Part1.FindObjectByName(“CROSS.95”)‘Add one U Reference to the listDim UrefList As SfmReferencesUrefList.Add Uref1
- Parameters:
i_reference (Reference) –
- Return type:
None
- clear_list() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ClearList()Clears the contents of existing list of SfmReferences.Returns:Error codeExample:This example clears the contents of a list.Dim ListofRef As SfmReferencesDim Uref1 as ReferenceListofRef.Add Uref1ListofRef.ClearList
- Return type:
None
- item(i_index: cat_variant) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ReferenceRetrieves a Reference from the collection ofSfmReferences.Parameters:iIndex[in] The index of the parameteroParm[out] The parameterReturns:Error codeExample:This example retrieves ‘i’th Reference from a list ofReferencesDim ListofRef As SfmReferencesSet Ref1 = ListofRef.Item(i)
- Parameters:
i_index (cat_variant) –
- Return type: