Hiding construction planes from the API

Hiding construction planes from the API

fergc
Explorer Explorer
818 Views
2 Replies
Message 1 of 3

Hiding construction planes from the API

fergc
Explorer
Explorer

I wrote a Python script that creates a sequence of planes that after they served their purpose I would like to hide from the script. The problem I have is that the plane's "isVisible" property is "read only", is there another way to achieve this?

Thanks,

Fernando

0 Likes
Accepted solutions (1)
819 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor
Accepted solution

Use the isLightBulbOn property. It's a weird name, but in the early versions of Fusion, the icon to control the visibility was a lightbulb. Setting this will change the visibility setting of the plane, but if the component it is in, or the Construction folder it is in has it's visibility turned off the plane still won't be visible. The isVisible property returns what the current state is.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3

fergc
Explorer
Explorer

Thanks. It works!

0 Likes