Using Process Flow to Create Objects in different locations

Using Process Flow to Create Objects in different locations

FlavioLopes
Not applicable
22 Views
3 Replies
Message 1 of 4

Using Process Flow to Create Objects in different locations

FlavioLopes
Not applicable

[ FlexSim 25.0.4 ]

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

0 Likes
Accepted solutions (1)
23 Views
3 Replies
Replies (3)
Message 2 of 4

nilP8GEZ
Observer
Observer
Accepted solution

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.

0 Likes
Message 3 of 4

FlavioLopes
Not applicable

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
Message 4 of 4

moehlmann_fe
Observer
Observer

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