AutoCAD Map 3D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Yes I did... but good thought, it's usually the little things like that that get me. Obviously, I'm not doing something right. However in the last few minutes I've copied and pasted all the data I need. So I appreciate the help but there's no need to waste any more time on this. Maybe some lonely, raining day I'll look into it more.
Thanks for the helps guys, sorry for getting a little frustrated towards one of the post.
Windows 7 x 64, 8 GB
Intel i7-2600 @ 3.40 GHz
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Dear Nelsons,
in my favourite Cad italian forum, I've posted months ago all the steps to achieve your goal.
I try to translate 'em in my poor english, so you'll figure out the "powerful beauty" of Civil/Map queries.
Glad to having motivated you, stay tuned...
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
nelsons wrote:Yes I did... but good thought, it's usually the little things like that that get me. Obviously, I'm not doing something right. However in the last few minutes I've copied and pasted all the data I need. So I appreciate the help but there's no need to waste any more time on this. Maybe some lonely, raining day I'll look into it more.
Thanks for the helps guys, sorry for getting a little frustrated towards one of the post.
Text height may be the problem as well, or the layers, if your using C3D those two things can be a pita when you do regular cad stuff. : )
Supportting the troops daily.
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I came here with exactly the same question and cannot make head nor tail of the two suggested answers.
I used mapimport to import data from several mapinfo files. I import all the object data and have the importer assign layers based on the uniqueid field in that data. It is a simple matter to get it to import the point data as text when I import, but I can find no way to lable the polygons except by dtext and typing in the info read from the object data.
I tried adquery as suggested, but clicking on the object data option gives a box with blank fields.
Map attach breaks into two commands when I type it into the command line.
I tried the Suggestion about centroids [quote]
Use MAPCREATECENTROIDS to give you a point with object data. In the Task Pane, use data connect to add that layer to your map, then theme the layer to add labels as desired.[/quote]
But although I now have points with the object data. I do not know what the task pane is, don't know how to find data connect, and have no idea what is meant by theme the layer.
As there is such a simple way to import the point info as text, surely there must be a way to import a text object for the polygon info too?
ps I even tried turning on the ribbon, but all I see is the message 'The ribbon does not have any tabs or panels currently loaded'
C3d2012
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Here's the above mentioned translation from my mothertongue:
01] open an empty drawing
02] _MAPIMPORT the shape
03] save the drawing as BEFORE.DWG and close it
04] open an empty drawing
05] _ADEDRAWINGS and attach BEFORE.DWG
06] _ADEQVIEWDWGS to see your map
07] _ADEQUERY
08] under QUERY TYPE choose LOCATION -> ALL -> OK
09] under QUERY MODE choose DRAW
10] under OPTIONS choose ALTER PROPERTIES -> TEXT -> EXPRESSION -> OBJECT DATA
11] choose the attribute to label -> OK -> input an suitable text height -> OK -> OK
12] EXECUTE QUERY
13] zoom extents and save as AFTER.DWG
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thank you very much. This is very helpful.
I got that to work on my second attempt (must have got something wrong first time).
This will save me a great deal of time in the future.
Thanks again![]()
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Another way to go about it:
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 infomation 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.
Lorrie
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thank you for replying, but that did not work.
In the dialogue box where I selected the value, there is another field called tag. the ok button was not selectable until I typed something in there but having no idea what the field means, I typed test
When I got to the mappinsert part, all of the labels that appeared read 'test' instead of taking information from the chosen objdata field.
What SHOULD go in tag?
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Int the 'Tag' field, put whatever you like - test works. Next to that in the 'Value' box, click the little button, and you should get a dialog box, where you can select object properties, object data, etc.
See if that works.
Re: LABEL OBJECT DATA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
A little more clarification,
If i want to see the property owner, in the 'Tag' i would write Property Owner. In the 'Value', i would browse to my object data and select 'propown', since thats that name of my field in the object data.
then when i do 'mapanninsert', it'll display the property owner of that property. the 'tag' is just a placeholder.
Does that make more sense?


