question

Martin K5 avatar image
0 Likes"
Martin K5 asked Martin K5 commented

How to convert treenode's node value to String?

Hi,


I would like to ask, how can I convert treenode's node value to String?

Let's say, I have a treenode nodeA with pointer value: /Rack1/bays/10/levels/4/slots/1.


How can I convert this value to String?


Thank you,


Martin

FlexSim 23.2.3
stringnodeconverttreenode cast
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Martin K5 commented

It's just:

nodeA.value.getPath()
· 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.

Martin K5 avatar image Martin K5 commented ·
Great, thank you!
0 Likes 0 ·