Various Addin/API wizards, coders, widgets and examples are provided to help program AutoCAD .NET addins.

02/09/2012

AutoCAD .NET Addin Wizard (AcadNetAddinWizard) provides kinds of Event Handler Wizards to help automatically and intelligently generate start code of even handlers and register them in an chosen application extension or command method or both.AutoCAD .NET BlockTableRecord Events Wizard is one of them. After a source file name is given and the Add button pressed, the event wizard Welcome page, Event Chosen page, Naming Convention and Application-Extension/Command-Method Setting page, and Summary page will show up one after another.If all events are chosen and other settings are like above, the even handler class will look like this:

public void Initialize() { //TODO: add code to run when the ExtApp initializes. Here are a few examples: // Checking some host information like build #, a patch or a particular Arx/Dbx/Dll; // Creating/Opening some files to use in the whole life of the assembly, e.g. logs; // Adding some ribbon tabs, panels, and/or buttons, when necessary; // Loading some dependents explicitly which are not taken care of automatically; // Subscribing to some events which are important for the whole session; // Etc.

The leading edge AutoCAD .NET Addin Wizard (AcadNetAddinWizard) has provided many nice Event Wizards to auto-generate start code of even handlers and registers flexibly in no time. People can expect more and cooler wizards, coders, and widgets in the near future.