Autosave

Autosave

jokiller70
Advocate Advocate
1,738 Views
1 Reply
Message 1 of 2

Autosave

jokiller70
Advocate
Advocate

Hi, I am writing a program to autosave my current document.

 

Works fine, but if I gave a command active, like constrain, inventor closes it.

 

Is there a way to see if there is a comand going on, so I can save it when it closes?

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

WCrihfield
Mentor
Mentor
Accepted solution

I don't know what your code looks like, or how you plan to 'wait' for the current command to be finished, but here is one way of knowing what the current/active command is.

ThisApplication.CommandManager.ActiveCommand

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes