Fusion 360 C++ API: set activeFolder bug

Fusion 360 C++ API: set activeFolder bug

jakub.fojtikNN9CG
Explorer Explorer
332 Views
1 Reply
Message 1 of 2

Fusion 360 C++ API: set activeFolder bug

jakub.fojtikNN9CG
Explorer
Explorer

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

 

 

0 Likes
333 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor

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
0 Likes