I normally do not like clever wordplay in headlines. I am learning Autocad.Net, started with VB.net, but changing to C#. Its a learning curve, plus test/debug are start/close autocad. You cannot edit and re-compile the file if it is loaded in autocad. Steep curve, slow mechanics.
I saw a post on autocad.net forum to ignore myfirst plug-in and do not load wizards, learn how to do it manually. I completely agree. For the step by step instructions, you need the Managed .Net Developer’s Guide. Its online, but better to download it because its the primary learning source.
You want the ObjectARX SDK, because it has the file Managed net developer guide – arxmgd_dev.chm – and the managed net reference guide – arxmgd.chm. ARX and managed net (which is autocad.net) are entertwined. A typical managed net class in the reference guide has the verbage “This .NET class wraps the (similar) ObjectARX class.” To get the SDK you will have to make two clicks and register by entering your name and email. The ARX SDK also has dotNET samples.
Anytime you download a CHM file you have to right click in explorer and Unblock on the properties page.
Also on the developer home page is an autocad.net training lab, intended to be a two-day course.
In the managed net developer guide, there is a complete step by step to run code with manual setup. Once you gather that, all the code in the developer guide runs as-is by pasting directly into visual studio.
In addition you can google autocad.net autodesk university. There are a few good sources, not as many as i would like.
Almost everyone is posting code for autocad.net in C#. The developer guide has sample code in VB.net and C#. I think microsoft has said VB.net will be slow-walked or frozen altogether.
Autocad.net has a transaction model that must be looked at very hard. It’s the front end of every sample code in the dev guide. After that, I find passing objects by passing their objectID – but its not a long variable, its a class – the hardest to quickly size up. VBA seems wonderfully lean, I normally hate business bullshit, but autocad.net has a wealth of new objects, like matrices and vectors. Forms work fine if they are modal. Palettes are the other technique. Adesk U has some papers on forms and palettes.
The interlude will play while I try to get comfortable.