question

Kim Jh avatar image
0 Likes"
Kim Jh asked Arun Kr edited

How to get the NetworkNode that is connected to Queue?

for example,

treenode nn = ???

FlexSim 16.1.0
tree node
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

Arun Kr avatar image
4 Likes"
Arun Kr answered Arun Kr edited

Hi kim Jh,

You can use getnetnode() command. It returns the nth network node connected to the object with a "blue" or "station" connection line.

//Example
treenode Queue = node("Queue",model());
treenode NetworkNode = getnetnode(Queue,1);// First networknode connected to the Queue  object.

Regards,

Arun KR

5 |100000

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