question

David Seo avatar image
1 Like"
David Seo asked David Seo edited

About List Content - getstat() command...

I want to get the Entry Content of List.

So I searched the topic in this Q&A forum and found getstat() command of @Matthew Gillespie and @anthony.johnson and @Matt Long.

But the getstat(globallist("List1"), "Content", STAT_CURRENT, partitionID) do not get any return value.

here1

FlexSim 17.0.0
getstatlist content
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

Matt Long avatar image
3 Likes"
Matt Long answered David Seo edited

The stat name you're looking for is PartitionContent. So the code should read:

getstat(globallist("List1"), "PartitionContent", STAT_CURRENT, partitionID);

The Content stat ignores the partitionID parameter and gets the value from the list as a whole.

· 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.

David Seo avatar image David Seo commented ·

Thanks. That's what I want.

I used it in the model of my question -https://answers.flexsim.com/questions/34023/about-rotary-rack-level-control-using-process-flow.html.

0 Likes 0 ·