question

Christian P3 avatar image
0 Likes"
Christian P3 asked Jeanette F commented

Feature Request: Object references erased when process flow is copied

Currently when copying over models it erases all the object references in triggers (wait for event, event-triggered source) - despite the fact that the model might have the objects being referenced copied over. 1678742467526.png

FlexSim 23.0.2
process flowfeature request
1678742467526.png (10.2 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Christian P3, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

If you just sampled an object and had it's pointer (memory address) in the activity's object field, then it will not be able to know to which object that refers when transferred to a new model since everything has a different memory address.

You can refer to objects using groups, find() or label pointers on member objects within Object Process Flows such that your process flows are portable - but you need to design them that way.

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.