question

Flavio Lopes avatar image
0 Likes"
Flavio Lopes asked Felix Möhlmann commented

Using Process Flow to Create Objects in different locations

I need to create a specific number of boxes while maintaining a consistent distance between them (like the Picture below). I attempted to use the 'Move Object' option in the Process Flow, but I couldn't figure out how to relocate them to different positions


Example 1.fsm1742916282996.png

FlexSim 25.0.4
processs flowmoveobject
1742916282996.png (33.7 KiB)
example-1.fsm (31.6 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

Nil Ns avatar image
0 Likes"
Nil Ns answered Felix Möhlmann commented

Hello Flavio,

Instead of using the "Move Object" option in the Process Flow, I suggest you try using the "Change Visual" feature. With "Change Visual," you can modify the location or position of an object without actually moving it from one entity to another.

The "Move" option is ideal when you want to relocate an object between different entities—for example, moving a box from a rack to a cart. However, in your case, since the box remains in the model and only its position changes, "Change Visual" is the most appropriate solution.

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

Flavio Lopes avatar image Flavio Lopes commented ·

Hello Nil,

I see it that in the Change Visual we have the option to change the object location, but how can I reallocate the objects to differente locations? Like a showed in the image.

Because I only find the option to send all objects to the same coordinates

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Flavio Lopes commented ·

example-2.fsm

When creating multiple tokens in a Create Tokens or Run Sub Flow activity, you can use the creationRank variable to access the index of the created token. Based on that index you can calculate the coordinates where the item should be placed.

0 Likes 0 ·
example-2.fsm (30.6 KiB)