Building AGV layout with code

Building AGV layout with code

patrick_zweekhorst
Advocate Advocate
14 Views
1 Reply
Message 1 of 2

Building AGV layout with code

patrick_zweekhorst
Advocate
Advocate

[ FlexSim 19.0.2 ]

Hi @phil.bobo,

We are trying to make an AGV layout by code using the snappoint from a dwg. The straight paths work fine, but we are having some troubles with the curved paths. Attached is a really simple layout and an example model were we use some code to create the paths. In the snappoint of the dwg we get the center, start angle and end angle. How should we use those to create the curved path at the correct location?

Thanks for your time and help,

Patrick

testautopath.fsm

test4.dwg

0 Likes
Accepted solutions (1)
15 Views
1 Reply
Reply (1)
Message 2 of 2

patrick_zweekhorst
Advocate
Advocate
Accepted solution

Hi @phil.bobo,

We found the problem. We messed some things up with the center locations. If someone want to know, attached is the model where the code works.

testautopath.fsm