The build #0.6 of AutoCAD .Net Addin Wizard (AcadNetAddinWizard) has been rolled out. It has a lot of new features and feature enhancements. It has also addressed some issues and bugs.
It supports Civil 3D both old versions and the latest 2013 now. Let’s see how AutoCAD .NET Addin Wizard (AcadNetAddinWizard) can help us generate a C# addin project automatically for Civil 3D 2012 here.
Its wizard product selection page looks like this and as can be seen if an AutoCAD flavor is selected, one more button will show up saying ‘More Assemblies to Reference for the Flavor …’:
If that button is pressed, a dialog having the tree view of Assemblies to Reference for the Flavor will pop up:
The Application Extension, the Command Method, and the Summary wizard pages are exactly the same as the vanilla AutoCAD ones, and we will not waste time and spaces here.
Here are the namespaces that have been automatically imported into the ExtApp source file.
#region Namespaces
using System;
using System.Text;
using System.Linq;
using System.Xml;
using System.Reflection;
using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Media.Imaging;
using System.Windows.Forms;
using System.Drawing;
using System.IO;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Windows;
using MgdAcApplication = Autodesk.AutoCAD.ApplicationServices.Application;
using MgdAcDocument = Autodesk.AutoCAD.ApplicationServices.Document;
using AcWindowsNS = Autodesk.AutoCAD.Windows;
using Autodesk.Civil.ApplicationServices;
using Autodesk.Civil.DatabaseServices;
using Autodesk.Civil.Runtime;
using Autodesk.Civil.Settings;
using BufferMgd;
using OverlayMgd;
using Autodesk.Gis;
using Autodesk.Gis.Map;
using Autodesk.Gis.Map.UI;
using Autodesk.Aec.UI;
using Autodesk.Aec.UI.Ribbon;
using Autodesk.Civil.AeccUiMgd;
using Autodesk.Civil.AeccUiMgd.Roadway;
using Autodesk.Aec;
using Autodesk.Aec.ApplicationServices;
using Autodesk.Aec.DatabaseServices;
using Autodesk.Aec.Geometry;
using Autodesk.Aec.Modeler;
using Autodesk.Aec.Project;
using Autodesk.Aec.PropertyData;
using Autodesk.Aec.PropertyData.DatabaseServices;
using Autodesk.Aec.Recipe;
using Autodesk.Aec.Recipe.Utilities;
using Autodesk.Aec.Utility;
using Autodesk.AECC.Interop;
using Autodesk.AECC.Interop.Land;
using Autodesk.AECC.Interop.Pipe;
using Autodesk.AECC.Interop.Roadway;
using Autodesk.AECC.Interop.Survey;
using Autodesk.AECC.Interop.UiLand;
using Autodesk.AECC.Interop.UiPipe;
using Autodesk.AECC.Interop.UiRoadway;
using Autodesk.AECC.Interop.UiSurvey;
#endregion
As can be seen, a lot of AEC, AECC, Civil, and Civil 3D namespaces have been imported in besides those vanilla AutoCAD ones.
The leading edge AutoCAD .NET Addin Wizard (AcadNetAddinWizard) provides various project wizards, item wizards, coders to help program AutoCAD .NET addins.
Recent Comments