pycatia.funct_system_interfaces.funct_scripts¶
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.funct_system_interfaces.funct_scripts.FunctScripts(com_object, child_object=<class 'pycatia.funct_system_interfaces.funct_script.FunctScript'>)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFunctScriptsThe interface to access a set of Functional Scripts.It is managed on a Functional Element, thru the GenerativeKnowledge FacetManager (GKW).- create(i_name: str) FunctScript ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Create(CATBSTR iName) As FunctScriptCreate a FunctScript.
- Parameters:
i_name (str) –
- Return type:
- delete(i_script: FunctScript) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Delete(FunctScript iScript)Delete a FunctScript.
- Parameters:
i_script (FunctScript) –
- Return type:
None
- elem(i_index: cat_variant) FunctScript ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Elem(CATVariant iIndex) As FunctScriptReturns an association using its index or its name from the Scriptscollection.Parameters:iIndexThe index or the name of the Script to retrieve from the collectionof Scripts. As a numerics, this index is the rank of the Script in thecollection. The index of the first Script in the collection is 1, and the indexof the last Script is Count. As a string, it is the name you assigned to theScript using theAnyObject.Name property.Returns:The retrieved ScriptExample:This example retrieves in Act1 the fifth Script in the collection andin Act2 the Script named Moves.Dim FunctElem As FunctionalObjectSet FunctElem = FunctDoc.CurrentDescription.Objects.Elem(“Valve”)Dim FacetGKW As FunctionalGenScriptMgrSet FacetGKW = FunctElem.GetFacetByName(“GKW”)Dim Assoc1 As FunctScriptSet Assoc1 = FacetGKW.Scripts.Elem(5)Dim Assoc2 As FunctScriptSet Assoc2 = FacetGKW.Scripts.Elem(“Producing the Skeleton 2D”)
- Parameters:
i_index (cat_variant) –
- Return type: