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: 

Get a list of Fusion 360 folders and save to a text file using Python

1 REPLY 1
SOLVED
Reply
Message 1 of 2
isocam
400 Views, 1 Reply

Get a list of Fusion 360 folders and save to a text file using Python

Can anybody help?

 

Is it possible, using a Fusion 360 Python script, to get a list of "Job Files" folders and save the output to a text file that can be opened using "Notepad"?

 

In "Project" files I have several sub folders thus:

 

Drawing Templates

Job Files

Purchased Parts

Reference Parts

Standard Parts

 

In the Job Files folder I have over 100 sub folders. It is the list os sub folders that I need saving to a text file.

 

Many thanks in advance!!!!

 

Darren

1 REPLY 1
Message 2 of 2
kandennti
in reply to: isocam

Hi @isocam .

 

Here, @JeromeBriot  has created a script to export all the files in the data panel.

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/access-file-tree-structure/m-p/10375458#M1... 

 

If you refer to that, I think it is possible to write out the list in the desired folder to a text file.

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

Post to forums  

Autodesk Design & Make Report