question

Mehdi K2 avatar image
0 Likes"
Mehdi K2 asked David H2 answered

Get the Zone Content from a subflow?

In my model, I have some subflow that have zone inside them.

now i want to get the content of subflow zone at main process flow.below code not worked

getstat(getactivity(processFlow, "Zone"), "PartitionContent", STAT_CURRENT, 0, partitionID);

would you please solve the problem.

Choose One
zonesubflowuser commandflexsim 19
· 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.

Bo.W avatar image Bo.W commented ·

You'd better upload your model or a simple demo.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

We can better help you if you follow our best practices. Could you upload your model or an example model?

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Mehdi K2,

We haven't heard back from you. Were you able to solve your problem? Please respond to the previous comments so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

1 Answer

·
David H2 avatar image
0 Likes"
David H2 answered

Good day. Had similar problem and thru syntax trial-and-error stumbled on the below syntax that worked, this example looking at subset data instead of partition data. Zone subset properties setup also shown below for your reference. May offer you a solution hopefully... Good luck!


1618326594623.png (5.2 KiB)
1618326661934.png (21.4 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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