Link to home
Start Free TrialLog in
Avatar of norrin_radd
norrin_raddFlag for United States of America

asked on

AUTOCAD MAP: OBJECT DATA VS. LINKED DATA SOURCES

Since there is a few acadmap users here I thought I would ask a question that I've had since I've started using map but have since put to the back of my mind, which is better object data or links to data sources, or should you use both?

another thread( https://www.experts-exchange.com/questions/21390226/How-to-reference-Object-Data-for-a-selected-object-with-VBA.html ) got me to thinking about it again, specifically omc2000's comment:

 "1. AutoCad and AutoCad Map already has built-in database access facilities, their usage would give you higher compatibility with its AutoCad. But in general it's not too important."

and the fact that I may be able to access the object data programitically now has brought it back to the for front, so I thought I'd see what you all think about it.
I'll split the points up with all that add some thought to this.
Avatar of OMC2000
OMC2000
Flag of Russian Federation image

I was very surprised when learnt that you want to close question referenced here, where I answered your question.

Builtin AutoCad functionality for database access in VBA is availabe via CAO type library (cao15.dll), it give you access to DBConnectivity functionality where you may link database tables and their records to drawing objects. Make labels based on user defined templates and data from database linked to drawing object.

Sample is available at
\Sample\Database Connectivity\CAO\caotest.dvb
Avatar of norrin_radd

ASKER

<I was very surprised when learnt that you want to close question referenced here, where I answered your question.>

that wasnt my question omc, thats why I started a new one,

so, you think that the database connectivity is better for mapping applications?
do you see any benefits to object data at all?
ASKER CERTIFIED SOLUTION
Avatar of OMC2000
OMC2000
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
<In fact it remains very power tool, but there is no public documentation on the available extended features. Also, they are accessible via ARX C++ API only. >

meaning you cant access the extended features of OD through VBA? just the basics.
YES
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for the input guys.
We have just started to try to get into the GIS mode here starting with Map 5. Our system is probably not as advanced as most but it is a work in progress. What little I've set up I've used the database connectivity that map has, it seems to be a little easier than OD, but I may start to look at ways to use it too.
 
On a side note, just got Map 3d 2006 yesterday. I gotta tell ya at first glance it looks pretty cool but its going to take some getting used to.

I'll wind this one up in a few days if no one else posts anything.
Avatar of BillPowell
BillPowell

I have not used the native connectivity that much.  What exactly does the external data link to.  Is it the objects "handle".  How do you control how the objects gets linked to the data.

norrin radd
Just out of curiosity, where do you work.  Are you Canadian?
Canadian! no, why did you think I'm Canadian :) not that there's anything wrong with Canadians... some of my best friends are from Canada.... ;)
I work for a small co-op Electric company in the southern US, where do you work?

as for the native connectivity I  dont know much about it either. I've only really been trying to learn this database/GIS thing for about a year while time permits.

radd

I'll close this tommorrow..
Just had a hunch.  Im Canadian, I work for Local Govt in Alberta Canada.  In the next couple of months I expect to be doing a lot of work with both native connectivity and OD, so maybe Ill have more to contribute then.  Hopefully we can attract some other Map gurus to this forum in the coming months as well.

Regards,

Bill
bill,
see, like I said some of my best friends are from Canada ;)
I bet you have some impressive maps.
I think I'll be looking in to both of those aspects as well, I'll put out what ever I can also.
Looks like OMC's got some good knowledge
Since I recieved Map 2006 the other day I've also been looking into use the "Feature Classes" more too, since I got wind that we are supposed to be going to oracle in the future. Do you use feature classes? I may have to post some questions about those too.
-----
Thanks for posting your comments guys, like bill said maybe we can get some more map gurus coming in here.