.NET

Reply
Contributor
devronious
Posts: 16
Registered: ‎02-28-2006
Message 1 of 11 (155 Views)

C# Api?

155 Views, 10 Replies
04-01-2006 09:09 AM
Is there an API I can download so that I can program autocad apps with c sharp?

Also, does autocad use DirectX or OpenGL?

Thanks in advance,

Devin
*J. Daniel Smith
Message 2 of 11 (155 Views)

Re: C# Api?

04-03-2006 07:14 AM in reply to: devronious
ObjectARX supports C# through what are commonly called "the .NET wrappers";
the .NET wrapper assemblies ship as part of AutoCAD.

Dan

wrote in message news:5129385@discussion.autodesk.com...
Is there an API I can download so that I can program autocad apps with c
sharp?

Also, does autocad use DirectX or OpenGL?

Thanks in advance,

Devin
Contributor
devronious
Posts: 16
Registered: ‎02-28-2006
Message 3 of 11 (155 Views)

Re: C# Api?

04-03-2006 09:45 AM in reply to: devronious
I have autocad, but is there a list of which files are which? So I can reference the wrappers in my C# projects?

thanks,
-Devin
*Tim Riley
Message 4 of 11 (155 Views)

Re: C# Api?

04-03-2006 12:51 PM in reply to: devronious
acmgd.dll and acdbmgd.dll in you AutoCAD directory.
--
Regards,
Tim
http://www.theswamp.org/~tim/pyacaddotnet/


wrote in message news:5130195@discussion.autodesk.com...
I have autocad, but is there a list of which files are which? So I can
reference the wrappers in my C# projects?

thanks,
-Devin
Contributor
devronious
Posts: 16
Registered: ‎02-28-2006
Message 5 of 11 (155 Views)

Re: C# Api?

04-03-2006 01:50 PM in reply to: devronious
Can you show me how to connect with the application that way? Once I have the app I should be OK. But is there a good book for managed autocad?

Thanks,

Devin
*Tony Tanzillo
Message 6 of 11 (155 Views)

Re: C# Api?

04-03-2006 02:23 PM in reply to: devronious
Is there is problem with the samples that are
included with the managed wrapper API in the
ObjectARX sdk ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5130521@discussion.autodesk.com...
Can you show me how to connect with the application that way? Once I have the app I should be OK. But is there a good book for managed autocad?

Thanks,

Devin
Distinguished Contributor
saluki
Posts: 188
Registered: ‎09-18-2005
Message 7 of 11 (155 Views)

Re: C# Api?

04-03-2006 05:10 PM in reply to: devronious
Below is a link to the help files/sample files

http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=773180

You can also look in

D:\Program Files\Autodesk Product\Sample\Autodesk Product API\CSharp

for additional samples.

Good luck
Contributor
devronious
Posts: 16
Registered: ‎02-28-2006
Message 8 of 11 (155 Views)

Re: C# Api?

04-03-2006 06:54 PM in reply to: devronious
That directory I don't seem to have.
Distinguished Contributor
saluki
Posts: 188
Registered: ‎09-18-2005
Message 9 of 11 (155 Views)

Re: C# Api?

04-04-2006 05:09 AM in reply to: devronious
It may only be 2006/2007 products

does your product have the NETLOAD command?
Contributor
devronious
Posts: 16
Registered: ‎02-28-2006
Message 10 of 11 (155 Views)

Re: C# Api?

04-05-2006 07:26 AM in reply to: devronious
No it doesn't . How does this apply? By that I mean, do you have to compile your project to a specific format or just to a dll class build?

-Devin
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.