question

Dewriffic16 avatar image
0 Likes"
Dewriffic16 asked Dewriffic16 commented

How to duplicate process flows dynamically linked to 3D model

I have a 3D model that simulates a manufacturing cell. It has some steps that utilize process flows for some more complex steps/processes. I am using a parameter to dynamically adjust the total number of cells based on that parameter. I'm able to do this using a plane that houses all of the 3D items. I then added the plane to a group which I can control via the parameter table. The only issue I have now is that I don't know how to duplicate or link my process flows back to the 3D objects that get duplicated (Delete and Copy Group Members) if say I increment my number of cells from 1 to 3.

1. Is there a way to add process flows to my group that is controlled via a parameter?

2. Is there some way to create some duplicate process flows ahead of time and re-link them using custom code in the parameter "On Set" logic?

3. Any other suggestions on how to duplicate a "mixed" model with process flow and 3D items?

Thanks in advance, if you need more details I'm happy to provide more information.

DemoMixedModel.fsm

FlexSim 22.0.16
process flowparametersduplication
demomixedmodel.fsm (156.9 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.

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Dewriffic16 commented

That is pretty much exactly what the Object Process Flow is for.

You just have to refer to any objects through the instance object. The queues and processors will have the same name in every plane, so you can refer to them by name, for example.

demomixedmodel-fm.fsm

Other possibilities would be through port connections, by their rank as subnodes of the instance object or through pointer labels that you setup on the instance object.


demomixedmodel-fm.fsm (157.6 KiB)
· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

I'd recommend using pointer labels - you may want to change the name to identify an object in stats collectors without using the full path. Anything using ranks is subject to a an editing re-rank issue. A pointer label is stable throughout.

0 Likes 0 ·
Dewriffic16 avatar image Dewriffic16 Jason Lightfoot ♦ commented ·
Thank you for the quick reply. This was exactly what I needed and has also simplified a lot of my other issues. For some reason I had never explored the other types of process flows.


Appreciate the help!

0 Likes 0 ·

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.