i wrote a small addin which is setting some properties to String.Empty when using the "save as" or "replace with copy" command. The addin is only registered for asm, par and psm environment.
When i save a draft with "save as" the addin is also execute.
Can anybody reproduce this behavior?
Greetings from Germany
Go to Solution.
Hello Christian, I think this is correct.
I assume you are using the applivation events to do the job,
These are fired independent of the current environment.
When you register the addin for an environment just means that it is initalized when this environment is started the first time after Solid Edge Application start.
If your addin hooks to application events when for example the Part envonment is started, then the event sink is called also when a Draft document is saved.
So your addin must check the document type at the start of the event handler.
You will experience that your event handler is not called if you start Solid Edge and open a Draft document and execute save as.
this is exact what i see here. I thought, the addin would be inactive for not registered environments.
Thanks for your reply