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: 

Run Fusion 360 API "Python" Script When Opening An Existing Document (Assembly, Part or Drawing)

2 REPLIES 2
Reply
Message 1 of 3
isocam
126 Views, 2 Replies

Run Fusion 360 API "Python" Script When Opening An Existing Document (Assembly, Part or Drawing)

Can anybody help?

 

Is it possible to run a Fusion 360 API "Python" script when opening an existing document (Assembly, Part or Drawing)?

 

For example,

 

Whenever I open an existing Assembly, Part or Drawing (For testing purposes only) show a messagebox saying "Hello World"

 

Many thanks in advance!

 

Darren

2 REPLIES 2
Message 2 of 3
j.han97
in reply to: isocam

I think your task is do-able. You might want to take a look at Application.documentOpened command here: Fusion 360 Help | Application.documentOpened Event | Autodesk. This event is triggered at the end of opening a document. 

 

*Edit to correct weird hyperlink behavior

 

 

Message 3 of 3
kandennti
in reply to: isocam

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