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

COM API vs .NET API ...

6 REPLIES 6
Reply
Message 1 of 7
svplaser
1553 Views, 6 Replies

COM API vs .NET API ...

Hi,

What is the difference between COM API and .NET API of autoCAD?

I thought we need to strictly use the transaction manager and add/delete entities from
Autocad's model space.
But the example in this link is not using "transaction" manager and this is still working.
http://howtoautocad.com/introduction-to-vb-net-in-autocad/
From the comments I learnt that this is using COM API instead of .NET API.

But I cant find any detail about this COM API.

What is this COM API? How is it different from .NET API? 

Will it be supported in all versions of AutoCAD 2D?

regards

Tags (2)
6 REPLIES 6
Message 2 of 7
Balaji_Ram
in reply to: svplaser

Hi,

 

Here is a blog post that might answer your questions :

http://through-the-interface.typepad.com/through_the_interface/2006/09/com_vs_net_in_a.html

 

If you are considering the differences for any new development, I strongly suggest using the AutoCAD .Net API especially if you are considering writing a plugin that runs inside AutoCAD. But for controlling AutoCAD from an external application, then COM API is the way to go.

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 7
svplaser
in reply to: svplaser

Hi,

 

Is the Autocad .NET developers guide available offline as a PDF or chm file?

 

It is available online at : 

http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm

 

( 2011, 2012, 2013 versions etc.) . But I need something offline. 

 

regards

Viswesh

 

Message 4 of 7
Balaji_Ram
in reply to: svplaser

Hi Viswesh,

 

Have a look at arxmgd.chm, arxdev.chm and arxref.chm in the <ObjectARX folder>\docs.



Balaji
Developer Technical Services
Autodesk Developer Network

Message 5 of 7
svplaser
in reply to: svplaser

Hi,

 

Thanks for the replies. But Iam not getting an email alert when some one replies to my post!.

I do have the "Email me when someone replies" option ticked when submitting my post. 

My registered id is : sales@svplaser.com

 

Not sure if this is problem with my mail id or with this forum?

 

regards

Tags (2)
Message 6 of 7
svplaser
in reply to: Balaji_Ram

Hi,

 

Iam using autocad mechanical 2012 & VB express 2010. 

Can I use ObjectARX2013 SDK or shud I stick to ObjectARX2012 SDK?

 

regards

 

 

Tags (1)
Message 7 of 7
kdub_nz
in reply to: svplaser


@svplaser wrote:

Hi,

 

Iam using autocad mechanical 2012 & VB express 2010. 

Can I use ObjectARX2013 SDK or shud I stick to ObjectARX2012 SDK?

 

regards

 

 


The SDK's are meant to be used for the version they are named after.

The distinction is compounded by the changes in the 2013 API.

 

 

 

//

Everything will work just as you expect it to, unless your expectations are incorrect.

class keyThumper<T> : Lazy<T>;      another  Swamper

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