Is there a way to hide custom graphics during a toolpath simulation in the CAM environment?

Is there a way to hide custom graphics during a toolpath simulation in the CAM environment?

27Fusion2
Contributor Contributor
52 Views
1 Reply
Message 1 of 2

Is there a way to hide custom graphics during a toolpath simulation in the CAM environment?

27Fusion2
Contributor
Contributor

I have an add-in that displays custom graphics on top of my setups and I would like to hide them when simulating a setup/operation so they don't obstruct the user's view. I've looked a bit and I can't find any reference to CAM simulations in the API. If I could be notified when the simulation is started that would be great- I could just turn visibility off for my graphics.

 

I know CAM API is lacking- especially when it comes to UI, so I'm guessing this can't currently be done but thought I'd ask anyways.

 

Thanks!

Allan

0 Likes
53 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor

You might be able to use the commandStarting and commandTerminated events on the UserInterface object to watch for when the simulation command starts and ends, and show and hide your graphics accordingly.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes