Replace points with blocks that have labels

Replace points with blocks that have labels

lhess
Contributor Contributor
1,301 Views
3 Replies
Message 1 of 4

Replace points with blocks that have labels

lhess
Contributor
Contributor

We are using some new software to map trees on project sites.  The software can export information, both as a Shapefile and as an Excel file, with a plethora of information (tree name, unique ID, latitude/longitude).  While I can easily populate the points in Map 3D, ultimately what I want to be able to do is utilize a tree symbol/block with a unique label instead of a point.  Attached is a snapshot of what we want the end product to look like, along with the tree block we want to use and also the CAD file with the populated tree points.  With there being potentially thousands of trees on a site to document, we obviously need this to be a quick process.

 

EDIT: I was able to populate the tree symbol using the lat/long coordinates.  When I select one of the tree symbols, the unique tree ID number is shown in the properties tab.  Is there a way to tell the block to show that ID number next to the symbol in model space??

0 Likes
Accepted solutions (1)
1,302 Views
3 Replies
Replies (3)
Message 2 of 4

АлексЮстасу
Advisor
Advisor
Accepted solution

_MAPEXPORT of points and _MAPIMPORT as TREE ID blocks with OD and with assigning the attribute values from OD.
The attribute should be named the same as the OD field.

And in dwg, a block should already be described and it is better if there is a description of the required OD in dwg.

export_tree.png      import_tree.png

 

The content of the attribute can be taken from the value of the OD field using

 ODEDIT, ODEDIT_STORE_ATTRS.

To do this, create a text file of matches:
block_name <tab> attr_name <tab> OD_name <tab> field_name
For example, with a tab delimiter:
TREE ID    ID    EXPORT    PID

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 3 of 4

ChicagoLooper
Mentor
Mentor

OK, so your software can export to shapefile, excellent! That's what you want and what you should export. When it exports the points, your tree points, open the .prj file using Notepad. Take a screen shot of the prj while it's open in Notepad then upload it.

 

Then, open a blank, brand new spreadsheet. Go to FILE/Open/browse to the shapefile's dbf file and open it. Take a screen shot of the top 6-rows in the spreadsheet and upload it.  

Chicagolooper

EESignature

0 Likes
Message 4 of 4

lhess
Contributor
Contributor

That was pretty flawless, thanks for the help!

0 Likes