AGV Part Visualization issue

AGV Part Visualization issue

VijaySangrulkar
Not applicable
4 Views
2 Replies
Message 1 of 3

AGV Part Visualization issue

VijaySangrulkar
Not applicable

[ FlexSim 23.1.1 ]

When AGV unload Part at destination - It shows gap like in the image. Any way to control this behavior....remaining parts shown come down after unloading previous parts.AGV01.PNG

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

joerg_vogel_HsH
Mentor
Mentor
Yes, this is caused by unloading items, because their locations are set statically. If you want to set a new location, after you have unloaded some items of a stack, you have to do it yourself. You access each item by subnodes and then you can set a new location for z property.
0 Likes
Message 3 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Here's the restack logic you can place on an unload trigger for a vertical stack:

Object item=current.first;
double z=0.3;
while (item){
    item.location.z=z;
    z+=item.size.z;
    item=item.next;
}
0 Likes