• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Map 3D

    Reply
    Valued Contributor
    Posts: 90
    Registered: ‎04-15-2003

    Re: LABEL OBJECT DATA

    11-11-2011 09:52 AM in reply to: Murph

    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.

     

    Civil 3D 2013 sp1
    Windows 7 x 64, 8 GB
    Intel i7-2600 @ 3.40 GHz
    Please use plain text.
    *Expert Elite*
    antoniovinci
    Posts: 1,095
    Registered: ‎06-03-2011

    Re: LABEL OBJECT DATA

    11-11-2011 10:47 AM in reply to: nelsons

    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...  

    Please use plain text.
    *Expert Elite*
    Murph
    Posts: 1,589
    Registered: ‎11-13-2006

    Re: LABEL OBJECT DATA

    11-11-2011 10:57 AM in reply to: nelsons

    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. : )


     

    Murph
    Supportting the troops daily.
    Please use plain text.
    Distinguished Contributor
    Posts: 833
    Registered: ‎12-10-2003

    Re: LABEL OBJECT DATA

    12-07-2011 04:09 AM in reply to: Murph

    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

    Please use plain text.
    *Expert Elite*
    antoniovinci
    Posts: 1,095
    Registered: ‎06-03-2011

    Re: LABEL OBJECT DATA

    12-07-2011 05:07 AM in reply to: albionpjl

    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 

    Please use plain text.
    Distinguished Contributor
    Posts: 833
    Registered: ‎12-10-2003

    Re: LABEL OBJECT DATA

    12-07-2011 05:49 AM in reply to: antoniovinci

    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:womanhappy:

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎11-13-2006

    Re: LABEL OBJECT DATA

    12-07-2011 08:12 AM in reply to: nelsons

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 833
    Registered: ‎12-10-2003

    Re: LABEL OBJECT DATA

    12-07-2011 08:30 AM in reply to: foxeec

    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?

     

     

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎11-13-2006

    Re: LABEL OBJECT DATA

    12-07-2011 08:33 AM in reply to: nelsons

    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.

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎11-13-2006

    Re: LABEL OBJECT DATA

    12-07-2011 08:36 AM in reply to: nelsons

    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?

    Please use plain text.