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: 

Example script "Tabbed Toolbar API Sample API Sample" fails out-of-the-box"

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
wh6Q9NU
213 Views, 2 Replies

Example script "Tabbed Toolbar API Sample API Sample" fails out-of-the-box"

The addIn example script "Tabbed Toolbar API Sample API Sample", see http://help.autodesk.com/view/fusion360/ENU/?guid=GUID- fails for me out-of-the-box with the error: ... line 51, in run 

brandNewRenderPanel.isVisible = True AttributeError: can't se attribute
 
Any suggestions> It, might be a small thing to fix,
2 REPLIES 2
Message 2 of 3
kandennti
in reply to: wh6Q9NU

Hi @wh6Q9NU .

 

In a recent update, the read only property seems to have been changed to raise an exception when a value is assigned to it.

https://modthemachine.typepad.com/my_weblog/2020/10/stricter-call-checks-in-fusion-360-api.html 

 

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-f660e4f0-bdd5-469b-9d7e-eb2a8be38050 

 

If you change lines 51 and 101 to comments, I think it will work.

Message 3 of 3
wh6Q9NU
in reply to: wh6Q9NU

Thanks for the swift reply.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report