TheSwamp

Code Red => .NET => Topic started by: Delegate on March 22, 2012, 10:47:28 AM

Title: Global Events and Visual Express
Post by: Delegate on March 22, 2012, 10:47:28 AM
Hi - couple of questions!

First I'm use C# express with the Autocad 2011 wizard to create the plug in with references loaded. When I first use 'save all' it somehow loses the Autocad references giving me a bunch of errors and while they are still listed and the paths are right I have to manually reload them. Anyone else get this problem? It's only the first time I 'save all'.


Secondly I'm thinking about creating an app with global open and close events.  I've created a simple app which does this using a message box to show it is working.  I just wanted to check if creating the events in the IExtensionApplication.Initialize() and the methods within the same class could cause problems? As its purpose is for initialization its not really the place for the methods.

Thanks