CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.

CAD tip CAD tip # 7396:

Question

CAD 
 %  platform  category 
A
AutoCAD Map 3D and AutoCAD Civil 3D support effective storage of non-graphical entity data as "object data" (OD). How can you convert existing block attribute information to this object data?

1. First method:
In the object data definition (ADEDEFDATA, Map > Define object data) choose "Create new table" to create a blank table containing identical items as the existing block attributes (tags). No default values are neccessary. Then start the ADEGENLINK command (Generate links, Map > Database) and set its dialog similarly to the picture. Select the appropriate linkage type (Blocks), under "Data Links" select "Create Object Data Records", choose your defined table, choose block, select OK. The links are generated automatically and the attribute values are copied into object data (OD).

Map OD - ADEGENLINK

2. Second method:
If you want to "cheat" and you don't want to define tables, just export (MAPEXPORT) the blocks to an ESRI shapefile (SHP) while using the OD option, erase the blocks and then re-import the shapefile into AutoCAD Map (MAPIMPORT) - when the import dialogue shows up, choose to import data in the OD tables under the Data column (see the "..." button) and set point mapping to blocks (the last column). This will automatically create tables and the desired fields, you just have to play around with modify the tables.

Map OD - export SHP

Map OD - import

MapCivil
100% *CAD
7.6.2010    31310×  
applies to: AutoCAD Map 3D · Civil 3D ·

See also:
Tip 14347:PDFIMPORT - No objects were imported.
Tip 14174:Create or modify a part reference (AMPartRef) from AutoLISP.
Tip 14147:Select map features OUTSIDE the selected polygon in Map 3D.
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 13938:ModDXF - utility for bulk modification/display of internal DXF properties in DWG entities.


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Link your AutoCAD block attributes with Excel tables/sheets. Automatically. Dynamically. Bidirectionally.
Try Excellink 2015 More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist