CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3422

CAD tip CAD tip # 13604:

   
Question CAD 
 %  platform  category 
Q - question

Importing points from a Shape file as symbols/blocks mapped to object data.

A - answer Using mapping of object data, you can easily retrieve points from an ESRI SHP (shape) file in the form of stylized symbols dependent on the value of the attribute data (GIS attribute) of a particular point, resp. the object data of individual points imported into an AutoCAD Map 3D or Civil 3D DWG file.

First, define (e.g. in a separate level) the symbols - blocks in your drawing, named exactly according to the value of the attribute in the loaded GIS data. In our example (from a project by our Finnish colleagues in Arkance Systems), the attribute "Equipmen_6" contains a value identifying the type of equipment being surveyed - e.g. "A", "B" or "CC1". Therefore, we predefine blocks of these names in our DWG.

Now we run the MAPIMPORT command, select the loaded SHP file (with its "accessory files") - Atria_equipment.shp:

and in the subsequent Import dialog, set the mapping of the GIS file attribute data to the Map/Civil object data (OD) and especially mapping the point data to "Get block name from data" (in our case from the "Equipmen_6" data).

Then we finish the import.

The points for which blocks (with the name matching the attribute value) were found, will be shown in the symbolic styling.

(Additional options for stylizing point symbols are provided by the FDO import function.)

See also the video demonstration:

MapCivil
100% *  CAD 
18.1.2023    667×  
Prices - CAD eShop:
applies to: AutoCAD Map 3D · Civil 3D ·

See also:
Tip 13296:How to correctly load a KML/KMZ file into Civil or Map 3D?
Tip 9302:How to change elevation units in a map or GIS source?
Tip 7396:How to convert block attributes to object data?
Tip 5968:Commandline version of -MAPIMPORT does not offer DGN format.
Tip 3315:Failure in the commandline version of the MapImport command.


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 glossary   



Featuring:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


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