Take screenshot on document save?

Take screenshot on document save?

beckettobrien
Explorer Explorer
834 Views
1 Reply
Message 1 of 2

Take screenshot on document save?

beckettobrien
Explorer
Explorer

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!

0 Likes
Accepted solutions (1)
835 Views
1 Reply
Reply (1)
Message 2 of 2

kandennti
Mentor
Mentor
Accepted solution

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.