Monday, August 4, 2014

THOSE DAMN ATTRIBUTES!!!

For those occasional times when you would like to automatically import OD

I found this nugget of info that I have now used many times.  Thanks you source!

First, use 'Mapimport' to bring in your closed polylines with object data.

then:
1- 'mapanntemplate'  (don't enter the quotes - you'll get a dialog box, when you hit ok, it'll open the block editor)
2- 'mapanntext' (then I hit 'enter' for new text.  You'll get a dialog box asking for information for you to supply for the label.  Under the 'value' box, you can specify a field from your object data to be supplied.  When it asks for the insertion, i always use 0,0; which inserts the text right where i need it inside the polylines.).  At that point, i close the block editor, saving my changes on the way.
3 - 'mapanninsert' (check the template you created, select your polylines, and voila!  Labels!

if the labels need to be tweaked, use the 'mapanntemplate' again, to edit the template contents, such as size, layer, etc.; then run the 'mapannupdate' command to have those changes reflected.

No comments:

Post a Comment