Point labels referencing specific property data

Point labels referencing specific property data

cfagg
Explorer Explorer
1,506 Views
9 Replies
Message 1 of 10

Point labels referencing specific property data

cfagg
Explorer
Explorer

Hi guys,

 

I have a series of points (about 1000) that have specific property information associated with each one. In this case they are speed signs but the application with extend to other data sets I have received. These are points, not cogo points.

 

I haven't been able to work out a way to create a label style that will display these properties. Attached is the DWG containing these points.

 

Have you got any suggestions?

 

cfagg_1-1731379743677.png

 

 

best regards,

 

Callum. 

0 Likes
Accepted solutions (2)
1,507 Views
9 Replies
Replies (9)
Message 2 of 10

essam-salah
Advisor
Advisor

hi @cfagg 

this is XDATA with applications, u probably need a lisp or smth to extract these data and assign em to COGO point desription..

0 Likes
Message 3 of 10

Pointdump
Consultant
Consultant
Accepted solution

Hi Callum,
Your points have OD(Object Data). Create an >>>Annotation Template<<<. Good video >>>Here<<<. Note Jerry Bartels' example is for parcels, but it works the same for AutoCAD points.
Dave

 

Edit: Here's a screen shot of one I did with your drawing.

 

MapAnnText_1.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
Message 4 of 10

Pointdump
Consultant
Consultant

Callum,
Another way would be to MAPEXPORT those points to a shapefile, drag-n-drop 'em back into your drawing, and style the features with labels.
Dave

 

AnnPts_1.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 5 of 10

cfagg
Explorer
Explorer

Hi Dave,

 

This exactly the answer I was looking for. Thank you for the time and effort. I've managed to recreate your example.

 

Do you happen to know if its possible to add multiple property references to the same label? 

 

For example:

SIGN_NO_CO

VIEW_FROM

ROAD_NO

 

Or is it simpler to just create 3 different labels and insert those onto the points separately? 

 

Thanks again,

 

Callum.

 

0 Likes
Message 6 of 10

cfagg
Explorer
Explorer

Hi Dave,

 

This solution seems like it might be a better way to do it. 

 

Could you walk me through the how to please.

0 Likes
Message 7 of 10

Pointdump
Consultant
Consultant

Callum,
"...create 3 different labels and insert those onto the points separately?"
Yes, that's what you'd need to do. Put them on separate layers so you can globally arrange them with MOVE.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 8 of 10

Pointdump
Consultant
Consultant
Accepted solution

Callum,
"...seems like it might be a better way..."
When you MAPEXPORT be sure to "Select Attributes" under the Data Tab. Note that each Output Field is limited to a maximum of 10 characters.
Next up--Styling Features.
Dave

 

MapExport_1.png

 

MapExport_2.png

 

MapExport_3.png

 

MapExport_4.png

 

Edit: You'll need to use "Select Manually".

 

MapExport_5.png

 

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 9 of 10

Pointdump
Consultant
Consultant

Callum,
Feature Styling:
Keep your new shapefile files: cpg, dbf, prj, shp, and shx in the same folder. The idx file is not necessary, but Civil 3D will keep re-creating it if you delete it.
Back in your drawing, drag-n-drop the shapefile into your drawing. Use command MAPWSPACE >> On to bring up the Task Pane. Select your Feature and click "Style".
In the dropdown that says "Use Static Text" scroll down and choose "Use Expression". To deal with Zero or No Data, use >>>This Method<<< from @ChicagoLooper.
After styling, you can use "Label to Text" to convert Feature to MText. That will allow you to move labels around.

Dave

 

TaskPane_1.png

 

TaskPane_2.png

 

TaskPane_3.png

 

TaskPane_4.png

 

TaskPane_5.png

 

TaskPane_6.png

 

TaskPane_7.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
Message 10 of 10

cfagg
Explorer
Explorer

Hi Dave,

 

All of that was perfect. 

 

The only thing I think I'm having trouble with is the scaling of the text. I can't seem to see it no matter what variables i change. I can get the style symbol to appear but not the text. 

 

Is there a trick do get that to work. Model space scale? Set the feature label size context to map and change the units?

 

If I change the symbol from text to any of the other objects (circle, star etc) then they appear above the points in the same way your did. But the moment I change it back to MTEXT it disappears 

 

cfagg_0-1731537573139.png

 

cfagg_1-1731537588359.png

 

EDIT

 

The issue was that the text colour was set to black (the same as my drafting background). Once set to a contrasting colour it was fine. 

 

The above (Dave's solution) is correct and works as described.