pycatia.funct_system_interfaces.functional_actions

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.functional_actions.FunctionalActions(com_object, child_object=<class 'pycatia.funct_system_interfaces.functional_action.FunctionalAction'>)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
FunctionalActions

The interface to access a collection of FunctionalActions.
create(i_name: str, i_from: FunctionalPosition, i_to: FunctionalPosition) FunctionalAction

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Create(CATBSTR iName,
FunctionalPosition iFrom,
FunctionalPosition iTo) As FunctionalAction

Create a FunctionalAction.
Parameters:
Return type:

FunctionalAction

delete(i_action: FunctionalAction) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub Delete(FunctionalAction iAction)

Delete a FunctionalAction.
Parameters:

i_action (FunctionalAction) –

Return type:

None

elem(i_index: cat_variant) FunctionalAction

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Elem(CATVariant iIndex) As FunctionalAction

Returns an action using its index or its name from the actions
collection.

Parameters:

iIndex
The index or the name of the action to retrieve from the collection
of actions. As a numerics, this index is the rank of the action in the
collection. The index of the first action in the collection is 1, and the index
of the last action is Count. As a string, it is the name you assigned to the
action using the

AnyObject.Name property.
Returns:
The retrieved action
Example:
This example retrieves in Act1 the fifth action in the collection and
in Act2 the action named Moves.

Dim Act1 As FunctionalAction
Set Act1 = Desc.Action(5)
Dim Act2 As FunctionalAction
Set Act2 = Desc.Action(“Moves”)
Parameters:

i_index (cat_variant) –

Return type:

FunctionalAction