Can I hide some Astar divider in a model?

Can I hide some Astar divider in a model?

fapicella
Enthusiast Enthusiast
95 Views
4 Replies
Message 1 of 5

Can I hide some Astar divider in a model?

fapicella
Enthusiast
Enthusiast

[ FlexSim 20.2.1 ]

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.

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

jason_lightfootVL7B4
Autodesk
Autodesk

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 dev@flexsim.com

0 Likes
Message 3 of 5

philboboADSK
Autodesk
Autodesk
Accepted solution

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

hide_astar_dividers.fsm

35929-1610549531233.png

35915-1610549545847.png

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



Phil BoBo
Sr. Manager, Software Development
Message 4 of 5

fapicella
Enthusiast
Enthusiast

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
Message 5 of 5

philboboADSK
Autodesk
Autodesk

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.



Phil BoBo
Sr. Manager, Software Development
0 Likes