.NET

Reply
Active Contributor
bryanduffel
Posts: 42
Registered: ‎06-30-2006
Message 1 of 3 (53 Views)

How do I get started?

53 Views, 2 Replies
07-26-2006 03:34 PM
Where would be a good place for a rookie programmer / experienced Acad user to begin the learning process for .Net for Autocad? Is this the direction autocad is headed? What about ActiveX? Is that still a major player in the customizing arena?

Thanks for your help.

bryan
*J. Daniel Smith
Message 2 of 3 (53 Views)

Re: How do I get started?

07-27-2006 06:28 AM in reply to: bryanduffel
See
http://arxdummies.blogspot.com/2005/03/autocad-2006-interview-with-albert.html
for one person's take on where AutoCAD is headed with regards to .NET.

It's no secret that Microsoft is strongly pushing .NET and de-emphasizing
unmanaged code and COM. VB6 (perhaps the biggest consumer of ActiveX) is no
longer on main-stream support, and VBA is being replaced with VSTA.

Dan

wrote in message news:5249732@discussion.autodesk.com...
Where would be a good place for a rookie programmer / experienced Acad user
to begin the learning process for .Net for Autocad? Is this the direction
autocad is headed? What about ActiveX? Is that still a major player in the
customizing arena?

Thanks for your help.

bryan
Distinguished Contributor
saluki
Posts: 188
Registered: ‎09-18-2005
Message 3 of 3 (53 Views)

Re: How do I get started?

07-27-2006 09:35 AM in reply to: bryanduffel
Basically for autocad customization you have:

lisp/autolisp

VBA

.net

ARX

The future of autocad customization will likely provide these plus VSTA (which is like the VBA of .net).

Active X is microsofts may of allowing software and APIs (VBA/VB/.net) communicate. Browse the autocad object model in the autocad help files. This is the model you will use to have your code interact with autocad. If you use a vertical product, such as land desktop it will have an object model as well.

I would recommend learning Visual Basic to start out with. Then you can program in VBA and vb.net, plus it's a good starting language.

Use VBA in autocad, and also download VB.net express edition for free from microsoft. This will allow you to create stand alone applications.

It seems like I learned the most visual basic by creating a stand alone application. Start by making a simple solver, take an equation or formula that you use often and make a form with text boxes and a solve button. If you get stuck post to one of the dot net disccusion groups for help.

http://www.vbdotnetforums.com/

Discussion groups are a great resource for learning programming.

Lisp is good for really simple customizatoin, but as you get more proficient with VBA you'll shy away from LISP.

Depending on what version/platform of autocad you are using you should have some .net sample files located in a directory similar to:

C:\Program Files\Autodesk Product\Sample\Autodesk Product API\vb.net

There are some VBA samples in the sample folder as well.

Good luck.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community