process flow node reference

process flow node reference

gregory_p_chin
Not applicable
261 Views
4 Replies
Message 1 of 5

process flow node reference

gregory_p_chin
Not applicable

[ FlexSim 16.1.0 ]

How do I reference a process flow activity node? Example below (opSMT_1):

1225-ewapv.png

0 Likes
Accepted solutions (1)
262 Views
4 Replies
Replies (4)
Message 2 of 5

gregory_p_chin
Not applicable

Never mind, I used the eye dropper in model tree to get the node path.

0 Likes
Message 3 of 5

philboboADSK
Autodesk
Autodesk
Accepted solution

You will get more robust ways of referencing the activity if you use the eye dropper on the activity in the ProcessFlow view instead of on the tree view.

You will get more relevant commands, such as getactivity() instead of node(). The eye dropper will also give you references based on the local variables within the trigger that you are using it from, such as another activity within that ProcessFlow.



Phil BoBo
Sr. Manager, Software Development
Message 4 of 5

gregory_p_chin
Not applicable

I should clarify, I needed the full path for the node such as:

node("Tools/ProcessFlow/Main Flows/ItemList1", model())
using the eyedropper in process flow view wasn't giving me what I needed.

0 Likes
Message 5 of 5

matt_long
Not applicable

node("Tools/ProcessFlow/Main Flows/ItemList1", model())

is equivalent to:

getactivity("Main Flows", "ItemList1")