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: 

Fusion 360 C++ API: set activeFolder bug

1 REPLY 1
Reply
Message 1 of 2
jakub.fojtikNN9CG
130 Views, 1 Reply

Fusion 360 C++ API: set activeFolder bug

Hello,

 

Not too sure if this is the right place to file a bug report.

 

With the Fusion 360 C++ API trying to call the activeFolder method of the Data object.

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-EB627BB8-7768-49E3-9742-4362DC2602CF

 

The issue is the activeFolder cannot be used as a setter even when the documentation page above clearly says so, in description as "Gets and sets the active DataFolder as seen in the Fusion 360 Data Panel.".

 

The call of activeFolder setter results in compilation failure as show on the picture bellow.

 

err.jpg

 

 

1 REPLY 1
Message 2 of 2

This is a bug in the documentation. activeFolder is a read-only property, and the documentation should say "Gets the active DataFolder as seen in the Fusion 360 Data Panel."  It's currently not possible to set which folder is active using the API.

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

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