.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Download AutoCAD .NET API Labs!

12 REPLIES 12
Reply
Message 1 of 13
KrishnaK
2251 Views, 12 Replies

Download AutoCAD .NET API Labs!

Due to overwhelming requests, we have decided to post the AutoCAD .NET API labs that we use to teach the class. This is the best place to start regardless of whether or not you have experience with other programming environments like ObjectARX, ActiveX or LISP. Since the .NET API as it stands today is a wrapper around ObjectARX, an ObjectARX programmer would find it a little easy to transition. That doesn't mean one cannot jump straight into the .NET API. The material takes you through in a "finish a step and see results" way that even beginners will not be lost.
Please note that the material is not 100% error free. Any feedback or suggestions to improve is most welcome.

The material covered in VB.NET and C# is identical.

Krishna Kalvai
Developer Technical Services
Autodesk Message was edited by: KrishnaK
12 REPLIES 12
Message 2 of 13
Anonymous
in reply to: KrishnaK

Very nice. Thank you.

Tim Riley

wrote in message news:4859028@discussion.autodesk.com...
Due to overwhelming requests, we have decided to post the AutoCAD .NET API
labs that we use to teach the class. This is the best place to start
regardless of whether or not you have experience with other programming
environments like ObjectARX, ActiveX or LISP. Since the .NET API as it
stands today is a wrapper around ObjectARX, an ObjectARX programmer would
find it a little easy to transition. That doesn't mean one cannot jump
straight into the NET API. The material takes you through i
n a "finish a step and see results" way that even beginners will not be
lost.
Please note that the material is not 100% error free. Any feedback or
suggestions to improve is most welcome.

The material covered in VB.NET and C# is identical.

Krishna Kalvai
Developer Technical Services
Autodesk

Message was edited by: KrishnaK
Message 3 of 13
Anonymous
in reply to: KrishnaK

Excellent! Nice gesture!

--
----
Ed
----
wrote in message news:4859028@discussion.autodesk.com...
Due to overwhelming requests, we have decided to post the AutoCAD .NET API
labs that we use to teach the class. This is the best place to start
regardless of whether or not you have experience with other programming
environments like ObjectARX, ActiveX or LISP. Since the .NET API as it
stands today is a wrapper around ObjectARX, an ObjectARX programmer would
find it a little easy to transition. That doesn't mean one cannot jump
straight into the NET API. The material takes you through i
n a "finish a step and see results" way that even beginners will not be
lost.
Please note that the material is not 100% error free. Any feedback or
suggestions to improve is most welcome.

The material covered in VB.NET and C# is identical.

Krishna Kalvai
Developer Technical Services
Autodesk

Message was edited by: KrishnaK
Message 4 of 13
Anonymous
in reply to: KrishnaK

Excellent Autodesk!

J. Daniel Smith,

See this is a place to learn C# and AutoCAD. If this discussion group is to
academic for you -- stay out!. To other readers, J. Daniel Smith tends to
direct people to other sites when she/he doesn't want to give an intelligent
answer to a question.

Edward
wrote in message news:4859028@discussion.autodesk.com...
Due to overwhelming requests, we have decided to post the AutoCAD .NET API
labs that we use to teach the class. This is the best place to start
regardless of whether or not you have experience with other programming
environments like ObjectARX, ActiveX or LISP. Since the .NET API as it
stands today is a wrapper around ObjectARX, an ObjectARX programmer would
find it a little easy to transition. That doesn't mean one cannot jump
straight into the NET API. The material takes you through i
n a "finish a step and see results" way that even beginners will not be
lost.
Please note that the material is not 100% error free. Any feedback or
suggestions to improve is most welcome.

The material covered in VB.NET and C# is identical.

Krishna Kalvai
Developer Technical Services
Autodesk

Message was edited by: KrishnaK
Message 5 of 13
Anonymous
in reply to: KrishnaK

Krishna,

These are fantastic! I'm going through them right now and I wanted to
point out one clarification:

In Step 3, Part 1, I think you need to add an Imports statement for
Autodesk.AutoCAD.DatabaseServices in order to get the Circle, BTR, and
BT objects. I was continuing with the same project from Step 2 (Lab 2)
as suggested, and it didn't have this.

Hope that helps and thanks again!

-Danny Polkinhorn
WATG
Honolulu
Message 6 of 13
Anonymous
in reply to: KrishnaK

And then I notice that farther down in the document it says that.

Sorry,
Danny

Danny P. wrote:
> Krishna,
>
> These are fantastic! I'm going through them right now and I wanted to
> point out one clarification:
>
> In Step 3, Part 1, I think you need to add an Imports statement for
> Autodesk.AutoCAD.DatabaseServices in order to get the Circle, BTR, and
> BT objects. I was continuing with the same project from Step 2 (Lab 2)
> as suggested, and it didn't have this.
>
> Hope that helps and thanks again!
>
> -Danny Polkinhorn
> WATG
> Honolulu
Message 7 of 13
Anonymous
in reply to: KrishnaK

Thank you!
Roland
Message 8 of 13
Anonymous
in reply to: KrishnaK

I'll say thank you too.
Autodesk needs to get serious about respecting its customers and this is as
good a start as any.


<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


wrote in message news:4859028@discussion.autodesk.com...
Due to overwhelming requests, we have decided to post the AutoCAD .NET API
labs that we use to teach the class. This is the best place to start
regardless of whether or not you have experience with other programming
environments like ObjectARX, ActiveX or LISP. Since the .NET API as it
stands today is a wrapper around ObjectARX, an ObjectARX programmer would
find it a little easy to transition. That doesn't mean one cannot jump
straight into the NET API. The material takes you through i
n a "finish a step and see results" way that even beginners will not be
lost.
Please note that the material is not 100% error free. Any feedback or
suggestions to improve is most welcome.

The material covered in VB.NET and C# is identical.

Krishna Kalvai
Developer Technical Services
Autodesk

Message was edited by: KrishnaK
Message 9 of 13
kenlinxp
in reply to: KrishnaK

Does this Lab can run with VB.Net 2003 And AutoCAD 2006 ?
My problem is in lab 5,change MText Object to Block Attribute,Now should be able to insert the EmployeeBlock with INSERT command and specify the employee name for each instance, but i my case it can't.
some one give me a hand?
Message 10 of 13
brnac196
in reply to: KrishnaK

Very nice! Thank you.
Message 11 of 13
vijayp4you
in reply to: brnac196

THank you so much after coming to this site i got to know what to do and where to start

Message 12 of 13
_gile
in reply to: vijayp4you

Hi,

 

The labs linked in the first message are quite old.

You'll find more recent ones here (Learning > AutoCAD 201X .NET Training)



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 13 of 13
BKSpurgeon
in reply to: KrishnaK

hi thank you.

is there a place where i can post questions about the labs?

FEEDBACK:

yes i did find a few errors in there.

it is somewhat helpful. but the explanations i find, are lacking in thoroughness. e.g. when calling methods there is no explanation of: what the method does, and the meaning of certain parameter inputs. e.g. addNewlyCreatedDBObject has a bool parameter. no explanation is given about the meaning of a 'true" argument passed to this method.

furthermore, the documentation is nowhere near the standard of C# MSDN help libraries out there, so it's very difficult for a noob to truly understand what is going on.

e.g. what is a block reference and why are we adding it to our blocktable record? also early in the lab a block table record is created without a block table first been instantiated.



Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost