AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Posts: 4
Registered: ‎11-30-2012
Message 1 of 2 (104 Views)

Best way to programatically create objects with numeric data attached

104 Views, 1 Replies
05-21-2013 09:03 AM

I have made a script which - in vanilla Autocad - creates a bunch of lines with numeric user xdata attached to them.


I would like to make another script which "exports" such set of lines to map3d, so users can create thematic maps based on the numeric data, and do whatever else map3d allows.


What is the best way to do this?  Or, to break the question down a bit,


How should the lines be represented in map3d, and how should the data be stored? 

1. as object data? 

2. as block data? 

3. as attached data?  (preferably not - this seems ugly having to use excel or suchlike to as well as autocad)

4. or should I just write a shapefile to be read in by map3d?


*Expert Elite*
Posts: 2,086
Registered: ‎11-13-2006
Message 2 of 2 (91 Views)

Re: Best way to programatically create objects with numeric data attached

05-21-2013 04:16 PM in reply to: zcrispin0.autodesk

I would use Object Data to store the data in.

Supportting the troops daily.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.