question

Fiorenzo A avatar image
0 Likes"
Fiorenzo A asked anthony.johnson commented

Can I hide some Astar divider in a model?

Hi,

I have this problem. I have a model where there are some divider with z coordinate = 0 and other divider with z coordinate = 5. Is there a way or a command with which I can hide only some of them, for example those with z coordinate = 0?

Can you halp me?

Thanks in advance.

FlexSim 20.2.1
astarflexsim 20.2.1dividerhide
5 |100000

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

Phil BoBo avatar image
2 Likes"
Phil BoBo answered anthony.johnson commented

Put the dividers you want to hide into a visual tool. Then hide the contents of the visual tool.

hide_astar_dividers.fsm

If you then want to programmatically hide and show them, use the switch_hidecontents() command.


1610549531233.png (301.3 KiB)
1610549545847.png (301.3 KiB)
· 2
5 |100000

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

Fiorenzo A avatar image Fiorenzo A commented ·

Great! thank you!

I have another question. Can I do the same also for the Astar Grid at the same z? In this case doesn't exist the treenode object to shift in the visual tool. Do you have any idea?


@Phil BoBo

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Fiorenzo A commented ·

The grids are stored as variables in the AStarNavigator object itself. You can hide or show the grid bounds on the Visual tab of the A* Navigator's Properties window. You can't hide each grid's bounds individually.

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Not that I can see - if you'd like this feature then suggest it here on the forum using "Post an Idea" or mail it in to [email protected]

5 |100000

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

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.