question

Cindy Azuero avatar image
0 Likes"
Cindy Azuero asked Adrian Haws edited

Process Flow creating objects in wrong location

Hi,

I'm creating the pallets on the trucks with the process flow using the Create Object activity but I note that the pallets are being created outside the truck.

This also happens with some queues where I use the same method.

This is affecting my results, specially the truck issue because of the distance that the operators have to travel to collect a box from one of these pallets.

Can you help me with this?

FlexSim 16.1.0
process flowcreate objectpositionset locationobject visual
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

·
Matt Long avatar image
0 Likes"
Matt Long answered Adrian Haws edited

The Create Object activity only creates an object and places it inside of the Destination object. It does not do any positioning of that created object. In order to for your object to be placed in the desired location, add a Change Visual activity and choose from one of the Set Location pick options.

For Container Flowitems you can define its packing method, which would eliminate the need for the Change Visual activity. However, for creating Task Executers you would have to create the packing method manually with an OnReceive node.


changevisual.png (22.7 KiB)
· 3
5 |100000

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

Cindy Azuero avatar image Cindy Azuero commented ·

@Matt Long

but if I use a simplified model and I use the create object, it uses the truck's packing method and position the objects as I want.

0 Likes 0 ·
Matt Long avatar image Matt Long Cindy Azuero commented ·

The trucks that you created in your model have a text object located inside of them. This is throwing off the logic of the packing method on line 8:

// Check to see if the flowitem is the first one in
if (content(current) == 1) {

This never evaluates to true as the first flowitem in makes the content = 2. You'll need to update your packing method code.

0 Likes 0 ·
Cindy Azuero avatar image Cindy Azuero Matt Long commented ·

you're right. I've found that solution time ago. But I do not remember that was the cause!

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.