question

Zixuan Xiong avatar image
0 Likes"
Zixuan Xiong asked Zixuan Xiong commented

3D Model - Triggers

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

FlexSim 7.7.4
trigger
untitled.png (79.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Zixuan Xiong commented

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"));
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Zixuan Xiong avatar image Zixuan Xiong commented ·

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

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.