Reply

How to check that no command is selected/active

[ Edited ]

 

HI,

is possible to check before saving a document,

that user is not doing anything with solidedge at the moment.

No modify profile, definition of feature etc.

Thanks in advance.

Best Regards

Massimo

 

Posted by: Massimo Magris
Post date: 2/28/2009 6:33:13 PM

1 REPLY

RE: How to check that no command is selected/active

[ Edited ]

Massimo,

 

I believe that if you will sink the ApplicationEvents and watch for BeforeCommandRun and AfterCommandRun, you'll be able to know. You can use the Event Spy feature in Solid Edge Spy to get a feel for how those events work and what to look for. You might also track the AfterEnvironmentActivate event.

 

Posted by: Jason Newell
Post date: 3/3/2009 6:33:47 AM