Properties
- Property ActionsCount() As (Read Only)
- Get the count of actions referenced by the actions' group.
Methods
- Sub Add( iAction)
-
Adds an action to the actions' group.
Fails if the action :
- is already in a group
- has "From" and "To" extremities inconsistent with the existing actions.
In case of an ordered group, the added action will be appended.
(i.e. for flows sequencing actions)- Parameters:
-
- iAction
- The action to be added to the group of actions. dd>
- Sub GetExtremities( oInputX, oInputY, oOutputX, oOutputY)
- Get coordinates of Input and Output extremities.
- Sub Remove( iAction)
-
Removes an action from the actions' group.
- Parameters:
-
- iAction
- The action to be removed from the group of actions. dd>
- Sub RemovePosition( iPosition)
-
Removes an action from the actions' group.
- Parameters:
-
- iPosition
- The position of the action to be removed from the group of actions. dd>
- Func Retrieve( iIndex) As
-
Returns an action using its index or its name from the actions
group.
- Parameters:
-
- iIndex
- The index or the name of the action to retrieve from the group of actions. As a numerics, this index is the rank of the action in the group. The index of the first action in the group 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 property. dd>
- Returns:
- The retrieved action
- Example:
-
This example retrieves in Obj1 the fifth action
in the group and in Obj2 the action
named Valve.
Dim Act1 As FunctionalAction Set Act1 = ActionsGrp.Retrieve(5) Dim Act2 As FunctionalAction Set Act2 = ActionsGrp.Retrieve("Reduces noise")dd>
- Sub SetExtremities( iInputX, iInputY, iOutputX, iOutputY)
- Set coordinates of Input and Output extremities.