Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

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

wh6Q9NU
Advocate Advocate
448 Views
2 Replies
Message 1 of 3

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

wh6Q9NU
Advocate
Advocate

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,
Reply
Reply
0 Likes
Accepted solutions (1)
449 Views
2 Replies
Replies (2)
Message 2 of 3

kandennti
Mentor
Mentor
Accepted solution

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.

Reply
Reply
1 Like
Message 3 of 3

wh6Q9NU
Advocate
Advocate

Thanks for the swift reply.

Reply
Reply
0 Likes