question

Gui Vaccaro avatar image
0 Likes"
Gui Vaccaro asked Gui Vaccaro commented

Use different preferred paths in different layouts

Hello,

how to you set different preferred paths for different layouts?

I see that the AStar tree has an additional node "Layouts" for every node. I could not find any membership information neither on the preferred path properties nor on the AStar properties window.

1738535348212.pngHowever, removing a preferred path in the 3D window on a particular layout removes it from all layouts. I would expect the paths to remain in the other layouts, being removed only from the current one.

What am I missing, please?

FlexSim 25.0.2
astarpreferred pathmultiple layouts
1738535348212.png (34.3 KiB)
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Gui Vaccaro commented

The Model Layout tool just records the locations of model objects - it doesn't add/remove objects from the model - to do that you'll need to use the model parameters and/or Model Reset Trigger as discussed you other question.

(Note that you might try implementing model changes by querying the Objects() table to find differences between your layouts and then issue some DELETE FROM, INSERT INTO and UPDATE queries - which could work depending on how connected are the transient objects)

· 1
5 |100000

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