How to convert treenode's node value to String?

How to convert treenode's node value to String?

martin_k5
Not applicable
31 Views
2 Replies
Message 1 of 3

How to convert treenode's node value to String?

martin_k5
Not applicable

[ FlexSim 23.2.3 ]

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

0 Likes
Accepted solutions (1)
32 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

It's just:

nodeA.value.getPath()
0 Likes
Message 3 of 3

martin_k5
Not applicable
Great, thank you!
0 Likes