.NET

Reply
Active Contributor
RFreund
Posts: 29
Registered: ‎05-09-2012
Message 1 of 9 (306 Views)

Where to Start?

306 Views, 8 Replies
10-23-2012 01:48 PM

I am not a wiz at AutoCAD but have some experience. I do not know how to use lisps and I am a beginner at best in programming. Having said that...

 

I would like to create a program to automate the process of drawing retaining walls. I would like to create a program in which I can input specific data points (spot elevations) and have lines, text, leaders, etc. and possibly even details generated based on the input. 

I currently use a script from excel for drawing the grade lines. Essentially I input points and the script connects the points. However I need it to do more than this. 

 

My basic question is where should I start? I seems like there are different choices - .NET, ObjetARX, Lisp, etc. 

I'm not sure if I should try to generate something in excel and try to export and create a .dxf file or if I should try to learn .NET or one of the other 'environments'. I believe I would to create almost a standalone program that can interface or output to Autodesk. 

 

Thanks!!

 

 

www.HowToEngineer.com
Board Manager
StephenPreston
Posts: 377
Registered: ‎05-22-2006
Message 2 of 9 (275 Views)

Re: Where to Start?

10-24-2012 07:48 AM in reply to: RFreund

From what you say you want to do, I'd suggest you start with Revit - www.autodesk.com/developrevit

 

If you really want to do this in AutoCAD ... To find resources for starting learning AutoCAD, start with www.autodesk.com/developautocad. I'd suggest you use .NET.

Cheers,

Stephen Preston
Autodesk Developer Network
Valued Mentor
gasty1001
Posts: 471
Registered: ‎04-11-2010
Message 3 of 9 (269 Views)

Re: Where to Start?

10-24-2012 08:21 AM in reply to: RFreund

Hi,

 

Try with AutoLISP first, it's a lot easy than .NET, and the only thing you'll need is AutoCAD. AutoLISP has 20+ years, and that means a lot of resources (documentation, forums, examples, and even non trivial complete applications for free) and very aknowledge people wiling to help. Also AutoLISP will help you to obtain a better understanding of AutoCAD internals. 

By other side .NET requires some (at least) basic understanding of OOP, and requires additional resources (Visual Studio), the ARX .NET API documentation it's no good at all, and that usually means that you will be jumping between different help resources for even very simple tasks. So why should  You go to .NET: power to acces and manage  almost everything inside AutoCAD (custom entities being the most clear example of something you can't do it with .NET, only ARX C++), but at a cost. 

 

Resumming:

 

AutoLISP: Alive and well

VB/VBA: Almost dead and stinking stronger each day

.NET: Growing stronger

ARX C++: Out of reach for mortals

Design Script: Just begining to babble, but deserve attention

 

Gaston Nunez

 

 

*Expert Elite*
dgorsman
Posts: 5,277
Registered: ‎10-12-2006
Message 4 of 9 (264 Views)

Re: Where to Start?

10-24-2012 08:44 AM in reply to: gasty1001

To quote Spiderman: "With great power comes great responsibility".  This applies to .NET and even more so with ObjectARX ("Out of reach of mortals"  :smileyvery-happy: ).  Both require a firm grounding in programming concepts, and don't respond well to the hack'n'slash "machete" style coding that beginners can get away with in LISP.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Active Contributor
RFreund
Posts: 29
Registered: ‎05-09-2012
Message 5 of 9 (222 Views)

Re: Where to Start?

10-31-2012 03:39 PM in reply to: dgorsman

Thanks for the responses and sorry for the delay. 

 

I'm thinking I'll start with some of the "my first plugin tutorials" and possibly the AutoCAD 2013 .NET training. Unless you there is somewhere else you would recommend. 

 

However I am interestied in AutoLisp. Is AutoLISP the same as VisualLISP? Is there a good place to start learning this? A quick search finds many different blogs, tutuorials, etc. any in particular that you would recommend?

www.HowToEngineer.com
*Expert Elite*
dgorsman
Posts: 5,277
Registered: ‎10-12-2006
Message 6 of 9 (216 Views)

Re: Where to Start?

10-31-2012 03:53 PM in reply to: RFreund

Many people use the terms "AutoLISP" and "VisualLISP" interchangeably.  Some prefer to use VisualLISP for refering to the (vlax...)/(vla-...) functions.  Either way, they are substantially the same thing.

 

For learning, I'd suggest starting with Lee-Mac.com.  Lots of examples and code tools for pretty much everything.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 7 of 9 (207 Views)

Re: Where to Start?

11-01-2012 01:39 AM in reply to: RFreund

I would skip the 'my first plug-in' tutorial because in spite of the fact that it is aimed at those with no prior programming experience, it's centered around a sample plug-in that deals with one of the most-advanced and complicated aspects of programming AutoCAD (overrules) that will leave a newcomer's head spinning.

 

If I can draw an analogy, It might be a flight traning school that used 747 jumbo jets.

 

There's plenty of other learning material available that isn't as fast-paced and provides a gentler introduction to both programming in general, and AutoCAD development, and I would recommend those.

 

Active Contributor
RFreund
Posts: 29
Registered: ‎05-09-2012
Message 8 of 9 (190 Views)

Re: Where to Start?

11-01-2012 06:20 AM in reply to: DiningPhilosopher

@dgorsman - Thanks for the recommendation I will take a look. 

 

@DiningPhilosopher - Point well taken. I sorta had that feeling while watching a couple. It was presented in simple terms but it seemed like the I was not getting the concepts behind it. Do you have any specific recommendations/suggestions?

 

Thanks again!

www.HowToEngineer.com
Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 9 of 9 (173 Views)

Re: Where to Start?

11-01-2012 02:57 PM in reply to: RFreund

What you should look for depends on whether you have any prior experience with programming. If you don't, then I would recommend generic training that involves no AutoCAD-specific topics (which will only confuse a beginner, IMO).  

 

Try:

 

   http://msdn.microsoft.com/en-us/beginner/default.aspx

 

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 or visit the Installation and Licensing Forum to get help installing your software.