.NET

Reply
Contributor
KrishnaK
Posts: 17
Registered: ‎05-24-2005
Message 1 of 12 (855 Views)

Download AutoCAD .NET API Labs!

855 Views, 11 Replies
05-27-2005 10:27 AM
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
*Tim Riley
Message 2 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

05-27-2005 01:14 PM 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
*Ed Jobe
Message 3 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

05-27-2005 01:41 PM 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
*Edward Merkins
Message 4 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

05-27-2005 01:52 PM 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
*Danny P.
Message 5 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

05-27-2005 06:24 PM 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
*Danny P.
Message 6 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

05-27-2005 06:59 PM 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
Distinguished Contributor
RolandF
Posts: 172
Registered: ‎11-19-2003
Message 7 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

05-30-2005 01:57 AM in reply to: KrishnaK
Thank you!
Roland
*clintonG
Message 8 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

06-02-2005 09:52 AM 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
Member
kenlinxp
Posts: 3
Registered: ‎06-02-2004
Message 9 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

08-01-2005 05:13 AM 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?
Member
brnac196
Posts: 4
Registered: ‎09-11-2007
Message 10 of 12 (854 Views)

Re: Download AutoCAD .NET API Labs!

04-28-2008 02:12 PM in reply to: KrishnaK
Very nice! Thank you.

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