3D Model - Triggers

zixuan_xiong
Not applicable
1 View
2 Replies
Message 1 of 3

3D Model - Triggers

zixuan_xiong
Not applicable

[ FlexSim 7.7.4 ]

I have setup the reset positions for several transportersin the ResetTrigger in 3D model and I want to reset the position again during the execution of the model.

Is that possible to point at the parameters inside the triggers of the object in 3D model while running in ProcessFlow?

/SPallet Jack1>variables/resettrigger

184-untitled.png

0 Likes
Accepted solutions (1)
2 Views
2 Replies
Replies (2)
Message 2 of 3

matthew_gillespie
Not applicable
Accepted solution

Rather than trying to pull the parameters out of the reset trigger you could always store the parameters somewhere where both the reset trigger and your process flow activity could reference them, for example: in a global table or on labels on the object.

If you really just want to execute all the code that's in the reset trigger you could use the nodefunction() command to execute the code in the reset trigger. For example, if a reference to your object is stored on the myObject label of the token:

nodefunction(getvarnode(getlabel(token, "myObject"), "resettrigger"));
Message 3 of 3

zixuan_xiong
Not applicable

Thank you! This function is what I am looking for!

0 Likes