question

Bichu K2 avatar image
0 Likes"
Bichu K2 asked Julivan S commented

How to access Current, Min, Max values of Tracked Variables from Subnode List

Hi,

I am trying to write some custom code to find, Which itemtype partiton in the Global Item list has higher content. I was planning to iterate through subnodes and accessing various values from "content" of various node.

I don't know which datatype this content is and how to access the value without hard-coding.

Also which is the best way to access many nested subnodes. Currently I feel whatever code I write is too verbose.

FlexSim 17.2.2
flexscripttracked variablestree node
tree.png (29.6 KiB)
code.png (16.4 KiB)
· 5
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

Raja Sekaran avatar image
3 Likes"
Raja Sekaran answered Julivan S commented

Hi @Bichu K2 ,

This post may help you from another question Link

Thanks.

· 4
5 |100000

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