question

Tommy H avatar image
0 Likes"
Tommy H asked Joshua S answered

Show custom flowitems inside custom container flowitem

I have a rack, added to FlexSim as custom container flowitem. I have parts, added as custom flowitems.

Any suggestion on how to show the parts on the rack using process flow? And how to interact with the parts? As in how to unload individual part using the process flow?

FlexSim 18.2.2
flowitems
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

@Tommy H, please add a model. It is much easier to look at your item in the tree to identify the structure to point to the rack object. Many thanks!

0 Likes 0 ·
Tommy H avatar image Tommy H Joerg Vogel commented ·

Hi @Jörg Vogel, sorry for the delay in my response. Please see the attached model. I got the part flowitems to show on the container, but I'd like to put them in specific spot. Not sure how to set up the surrogate, perhaps a sub flow with each part being created on the stillage, but specifying the specific surrogate? Do I then add individual parts as subcomponents in the stillage container flowitem and give each part its own animation variable?

mpe-10000-des-01-a.fsm

0 Likes 0 ·

1 Answer

·
Joshua S avatar image
1 Like"
Joshua S answered

@Tommy H

You can access an item within an item using

 item.subnodes[i]

where i is the location of that object in the subnode array of objects that are children to the parent object. You can manipulate that item how you want to, location, rotation, scale, or move that specific item. so in the field for a move object activity, you can just insert the code above for the desired object you want to move. Hope this helps you move forward.

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.