COM API vs .NET API ...

COM API vs .NET API ...

Anonymous
Not applicable
3,016 Views
6 Replies
Message 1 of 7

COM API vs .NET API ...

Anonymous
Not applicable

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

0 Likes
3,017 Views
6 Replies
Replies (6)
Message 2 of 7

Balaji_Ram
Alumni
Alumni

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

0 Likes
Message 3 of 7

Anonymous
Not applicable

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

 

0 Likes
Message 4 of 7

Balaji_Ram
Alumni
Alumni

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

0 Likes
Message 5 of 7

Anonymous
Not applicable

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

0 Likes
Message 6 of 7

Anonymous
Not applicable

Hi,

 

Iam using autocad mechanical 2012 & VB express 2010. 

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

 

regards

 

 

0 Likes
Message 7 of 7

kerry_w_brown
Advisor
Advisor

@Anonymous 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.

 

 

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes