question

Petter H avatar image
0 Likes"
Petter H asked Ryan Clark commented

Reference the value of the tree node in the Expression Field of the global table

111121313.png

As shown, I need to reference the value of the treenode in the "expression field"of the global table.

This value is constantly changing. How to cite it?

FlexSim 21.1.5
zonetreenode
111121313.png (15.0 KiB)
· 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.

Ryan Clark avatar image Ryan Clark commented ·

Hi @Petter H,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Jason Lightfoot edited

We don't support users accessing values from deep within tree structures that FlexSim developers are likely to change.

What are you actually trying to do? There might be a supported way of doing what you want to do without digging values out of the tree.

· 2
5 |100000

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

Petter H avatar image Petter H commented ·

I want to get the sum of the value of the token tag

"eds" in Travel

48545-1644651989186.png

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Petter H commented ·

It's a little unclear - do you want:

  1. The number of items in the queues referenced by the eds labels of the tokens in the travel activity?
  2. The number of tokens with that label in the travel activity?

The key functions you might need are gettoken() and getactivity()




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.