Subject: Using .NET applications

CADdirect supports the .NET programming language in two ways:

   .NET Classic — More closely matches the .NET interface used by AutoCAD.

   .NET based on COM — Initial .NET interface supported by CADdirect.

To prepare a .NET custom application

   1   In the .NET application, inherit the IICadPlugin interface that is defined in Intelli­CAD as:

public interface IIcadPlugin


   void PluginLoaded(object sender, EventArgs e);

   void PluginUnLoading(object sender, EventArgs e);


Where PluginLoaded() is called on plug-in load, the sender argument is a COM Interop model class CADdirect.Application for working with (storing it as a class member), and PluginUnLoading()is called right before the plug-in is unloaded.

To load a .NET Classic custom application

   1   Do one of the following:

   On the menu, choose Tools > Load Classic .NET Application.

   Type netload and then press Enter.

   2   In the Open an Assembly dialog box, select the .NET .dll file that you want to load, and then click Open.  

.NET Classic custom applications can also be run automatically when the program starts.
You can add .dll files for .NET to a startup suite or use a script. For details, see CADdirect_starts.htm#XREF_77322_Running">Load­ing custom applications automatically when CADdirect starts.

© Copyright 2023. BackToCAD Technologies LLC. All rights reserved. Kazmierczak® is a registered trademark of Kazmierczak Software GmbH. Print2CAD, CADdirect,, CAD Direct,, CAD Bot, are Trademarks of BackToCAD Technologies LLC. DWG is the name of Autodesk’s proprietary file format and technology used in AutoCAD® software and related products. Autodesk, the Autodesk logo, AutoCAD, DWG are registered trademarks or trademarks of Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. This website is independent of Autodesk, Inc., and is not authorized by, endorsed by, sponsored by, affiliated with, or otherwise approved by Autodesk, Inc. The material and software have been placed on this Internet site under the authority of the copyright owner for the sole purpose of viewing of the materials by users of this site. Users, press or journalists are not authorized to reproduce any of the materials in any form or by any means, electronic or mechanical, including data storage and retrieval systems, recording, printing or photocopying.