pycatia.funct_system_interfaces.funct_actions_group¶
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_actions_group.FunctActionsGroup(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFunctActionsGroupThe interface to access a group of functional actions in asystem.- property actions_count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ActionsCount() As long (Read Only)Get the count of actions referenced by the actions’ group.
- Return type:
int
- add(i_action: FunctionalAction) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Add(FunctionalAction iAction)Adds an action to the actions’ group.Fails if the action :is already in a grouphas “From” and “To” extremities inconsistent with the existing actions.In case of an ordered group, the added action will beappended.(i.e. for flows sequencing actions)Parameters:iActionThe action to be added to the group of actions.
- Parameters:
i_action (FunctionalAction) –
- Return type:
None
- get_extremities(o_input_x: float, o_input_y: float, o_output_x: float, o_output_y: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetExtremities(double oInputX,double oInputY,double oOutputX,double oOutputY)Get coordinates of Input and Output extremities.
- Parameters:
o_input_x (float) –
o_input_y (float) –
o_output_x (float) –
o_output_y (float) –
- Return type:
None
- remove(i_action: FunctionalAction) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Remove(FunctionalAction iAction)Removes an action from the actions’ group.Parameters:iActionThe action to be removed from the group ofactions.
- Parameters:
i_action (FunctionalAction) –
- Return type:
None
- remove_position(i_position: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemovePosition(long iPosition)Removes an action from the actions’ group.Parameters:iPositionThe position of the action to be removed from the group ofactions.
- Parameters:
i_position (int) –
- Return type:
None
- retrieve(i_index: cat_variant) FunctionalAction ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Retrieve(CATVariant iIndex) As FunctionalActionReturns an action using its index or its name from the actionsgroup.Parameters:iIndexThe index or the name of the action to retrieve from the group ofactions. As a numerics, this index is the rank of the action in the group. Theindex of the first action in the group is 1, and the index of the last actionis Count. As a string, it is the name you assigned to the action using theAnyObject.Name property.Returns:The retrieved actionExample:This example retrieves in Obj1 the fifth action in the group and inObj2 the action named Valve.Dim Act1 As FunctionalActionSet Act1 = ActionsGrp.Retrieve(5)Dim Act2 As FunctionalActionSet Act2 = ActionsGrp.Retrieve(“Reduces noise”)
- Parameters:
i_index (cat_variant) –
- Return type:
- set_extremities(i_input_x: float, i_input_y: float, i_output_x: float, i_output_y: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetExtremities(double iInputX,double iInputY,double iOutputX,double iOutputY)Set coordinates of Input and Output extremities.
- Parameters:
i_input_x (float) –
i_input_y (float) –
i_output_x (float) –
i_output_y (float) –
- Return type:
None