question

Jorge Manuel Garcia avatar image
1 Like"
Jorge Manuel Garcia asked Joerg Vogel edited

Watch variable inside an object

Hi everyone:

Is there a way to add to the "Watch Variables" list, a variable that is inside an object?

I'd like to add the variable Trip, which is inside InQueue, how can I add it? I tried "InQueue/Trip" and "InQueue/labels/Trip" without success.

Thanks in advance!

FlexSim 16.1.2
debuggingvariabledebug
image.jpg (18.6 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
1 Like"
Matthew Gillespie answered Joerg Vogel edited

You can just use the getlabel command:

  1. getlabel(current, "Trip")
· 3
5 |100000

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