Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hiding construction planes from the API

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
fergc
130 Views, 2 Replies

Hiding construction planes from the API

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

Labels (4)
2 REPLIES 2
Message 2 of 3
BrianEkins
in reply to: fergc

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
in reply to: fergc

Thanks. It works!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report