.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 5
Anonymous
598 Views, 4 Replies

Dang!

Hello,

I wanted to use VB dotNet to make my forms and also for the various
tools for serializing objects.

But it seems very difficult to get a hold of some basic autocad entities
this way.

For example i want to use file dependencies to see if the user has
already accessed the jobdata.xml file i am working with.

what do i need to set a reference to? i see file dependencies in the
object browser but i can't seem to get them to show up elsewhere.

Can i call dotNet constructs from VBA? Or vice-versa?

Is the 2005 beta easier to use with autocad objects?

thanks for any input

jm
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

The beauty of .NET is that you can choose the API that you use. You can use
NET API, the COM API and the C++ API within the same function.

If you find the .NET API is more difficult to use compared to the COM API
then I recommend that you simply use the COM API. The only thing that you
are going to miss out is the improved performance that you get from the .NET
API.

There's a ease of use/performance trade off that you need to make:

Performance:
Unmanaged C++ API is better than .NET API is better than COM API

Learning curve/ease of use:
COM API is better than .NET API is better than unmanaged C++ API.

The thing to keep in mind is what I said in the first paragraph. You can mix
and match these within the same function so you never have to commit at the
beginning of the project. You can start out with what you feel most
comfortable with and mix in other APIs as you need.

Albert

"john m" wrote in message
news:4851235@discussion.autodesk.com...
Hello,

I wanted to use VB dotNet to make my forms and also for the various
tools for serializing objects.

But it seems very difficult to get a hold of some basic autocad entities
this way.

For example i want to use file dependencies to see if the user has
already accessed the jobdata.xml file i am working with.

what do i need to set a reference to? i see file dependencies in the
object browser but i can't seem to get them to show up elsewhere.

Can i call dotNet constructs from VBA? Or vice-versa?

Is the 2005 beta easier to use with autocad objects?

thanks for any input

jm
Message 3 of 5
Anonymous
in reply to: Anonymous

"Albert Szilvasy" wrote

>> If you find the .NET API is more difficult to use compared
>> to the COM API then I recommend that you simply use the
>> COM API. The only thing that you are going to miss out is
>> the improved performance that you get from the .NET API.

But there are a few things that the .NET API offers
which are not available via the COM API.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Message 4 of 5
Anonymous
in reply to: Anonymous

True. Hopefully, those are easy to learn. I think the orignal poster was
concerned about the overhead that ObjectIds bring into drawing manipulation.
The COM API for drawing manipulation is pretty complete and easy to use
although somewhat slow.

"Tony Tanzillo" wrote in message
news:4851405@discussion.autodesk.com...
"Albert Szilvasy" wrote

>> If you find the .NET API is more difficult to use compared
>> to the COM API then I recommend that you simply use the
>> COM API. The only thing that you are going to miss out is
>> the improved performance that you get from the .NET API.

But there are a few things that the .NET API offers
which are not available via the COM API.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Message 5 of 5
Anonymous
in reply to: Anonymous

OH!

see i hadn't thought of that

i will give that a try i think it's a great idea

THANKS!

"Albert Szilvasy" wrote in message
news:4851412@discussion.autodesk.com...
True. Hopefully, those are easy to learn. I think the orignal poster was
concerned about the overhead that ObjectIds bring into drawing manipulation.
The COM API for drawing manipulation is pretty complete and easy to use
although somewhat slow.

"Tony Tanzillo" wrote in message
news:4851405@discussion.autodesk.com...
"Albert Szilvasy" wrote

>> If you find the .NET API is more difficult to use compared
>> to the COM API then I recommend that you simply use the
>> COM API. The only thing that you are going to miss out is
>> the improved performance that you get from the .NET API.

But there are a few things that the .NET API offers
which are not available via the COM API.

--
http://www.caddzone.com

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

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