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: 

Take screenshot on document save?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
beckettobrien
529 Views, 1 Reply

Take screenshot on document save?

Hello, I would like to automatically save a screenshot (File > Capture Image) to a folder in my project on every save of a certain document. I don't know if this is possible, but it would be nice because I doubt my team members (or me) can reliably remember to take the screenshots on every save. Thank you!

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

Hi @beckettobrien .

 

Because I am busy and do not have much time, I will only list ideas.

 

The Application object seems to implement the documentSaving and documentSaved events.

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-303438FA-9744-4C0B-9908-40BEE4184CE1 

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-E0E4279B-6947-432F-8C05-001DEE0CAEF5 

 

The Viewport object has a saveAsImageFile method.

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-5579ecf6-1b62-4185-8c92-a82a431068c0 

 

 

By combining these, I think that it is possible to make it.

 

 

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