I know that I can get the network node associated with a task executer with gettenetnode. Is there a command for getting the task executer associated with a network node?
I know that I can get the network node associated with a task executer with gettenetnode. Is there a command for getting the task executer associated with a network node?
As far as I can tell, there is no command that references the TEs associated with a network node or network in general. However, in the triggers on network nodes there is often a variable to reference the triggering TE on the node simply referred to as "traveler." Of course you could always create a centerport connection from a network node to a particular Task Executer, and then you can reference it using the centerobject() command.
Here is a user command by Jason.
treenode netnode=param(1); int travellerindex=param(2); return ownerobject(tonode(get(up(tonode(get(rank(getvarnode(netnode,"travellers"),travellerindex)))))));
https://www.flexsim.com/community/forum/showthread.php?t=3245&highlight=networknode
Regards,
Arun KR
6 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved