API expand Sketches and Bodies folders in Browser

API expand Sketches and Bodies folders in Browser

info83PHN
Advocate Advocate
511 Views
3 Replies
Message 1 of 4

API expand Sketches and Bodies folders in Browser

info83PHN
Advocate
Advocate

This should be simple, but can't find the code for it.

 

I run a script that opens an existing local f3d file, and I want to then expand ( dropdown ) the Sketches and the Bodies folders in the Browser on the left of the UI

 

I have found : rootComponent.isSketchFolderLightBulbOn

 

but nothing to open / expand the folders ?

 

0 Likes
Accepted solutions (1)
512 Views
3 Replies
Replies (3)
Message 2 of 4

BrianEkins
Mentor
Mentor
Accepted solution

It's not possible. There isn't any API functionality to access the browser tree, which is where that functionality would be exposed.

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

info83PHN
Advocate
Advocate

Thanks Brian

At least now I can stop searching for it.

Any chance that could get added as a 'would be really nice' API feature in the future ?

0 Likes
Message 4 of 4

BrianEkins
Mentor
Mentor

I don't know what's coming in the future but I don't think I would count on this capability.  it's always a matter of prioritizing work with limited resources to do the work but I agree that it would be useful.

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