Create and Switch Different Factory Layouts (A* Nav)

Create and Switch Different Factory Layouts (A* Nav)

FlexsimUser716
Not applicable
25 Views
4 Replies
Message 1 of 5

Create and Switch Different Factory Layouts (A* Nav)

FlexsimUser716
Not applicable

[ FlexSim 24.1.0 ]

Hello Everyone, I am looking to see if it is possible to create different factory layouts within my model and change the layouts when I goto run the experiment.


For example, I would like to run my experiment with this layout: 1710442079177.png And with a click of a button on my dashboard board, run an experiement with this layout:

1710442141531.png

In our actual model we are using A* Navigation, so I don't believe using the model layouts will work (based on other posts)


When I was looking into Vec3.project to see if I can move my objects, it did not seem to work.


Any suggestions, Thank you!

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

jason_lightfootVL7B4
Autodesk
Autodesk
Why wouldn't it work? You may need to disable caching of the AStar routes but otherwise I can't see an issue. You should be able to just set up a model parameter to choose the layout which you can then set in a scenario.


Message 3 of 5

FlexsimUser716
Not applicable
Hi Jason, So, should the model layout work if I redraw it? I'm very new to Flexsim, so how would I set up the parameters to switch between models?


I appreciate any help you can provide.

0 Likes
Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Here's an example of using the layout in scenarios:

ExperimentLayoutScenario.fsm

Use the Model Layouts tool to set up your layouts:

1710519468379.png

Then set an option parameter for the layouts:

1710519503301.png

with this OnSet code:

treenode layouts = node("/Tools/Layouts", model());
string layoutname = getname(rank(layouts, newValue));
applicationcommand("changemodellayout", layoutname);

and then set up the experiment scenarios to set those parameters:

1710519584664.png


0 Likes
Message 5 of 5

FlexsimUser716
Not applicable
Excellent, I think that is what I was looking for. I will do some testing with A* Nav, but I believe this worked.


Thank you again!

0 Likes