Results 1 to 9 of 9

Thread: editing attribute text

  1. #1
    Member
    Join Date
    2009-03
    Location
    Never far from a cup of tea.
    Posts
    37
    Login to Give a bone
    0

    Question editing attribute text

    Why is it that when I try to edit attributes with text editor I get a message saying "Tags cannot be null or contain spaces", but if I edit the text in the "properties" box I can type whatever I want?
    I think the problem might be that I'm editing a "tag" rather than an "attribute" but I don't actually know what the difference is!
    Is there a way to tell it I want to edit the attribute rather than the attribute tag? Right now I just type DDEDIT, click on the thing I want to edit, and try to change the text.

  2. #2
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: editing attribute text

    Quote Originally Posted by lostinusa73 View Post
    Why is it that when I try to edit attributes with text editor I get a message saying "Tags cannot be null or contain spaces", but if I edit the text in the "properties" box I can type whatever I want?
    I think the problem might be that I'm editing a "tag" rather than an "attribute" but I don't actually know what the difference is!
    Is there a way to tell it I want to edit the attribute rather than the attribute tag? Right now I just type DDEDIT, click on the thing I want to edit, and try to change the text.
    It sounds like you're editing a raw attribute (not defined in a block). Like it's a block that's been exploded one too many times. I'm not sure what your needs are but you need to either create a block with those attributes or re-insert the correct block that contains those atttributes.


    ...and then edit the attributes with "ddatte" (or enhanced block editor).

    Just a guess

  3. #3
    Member
    Join Date
    2009-03
    Location
    Never far from a cup of tea.
    Posts
    37
    Login to Give a bone
    0

    Default Re: editing attribute text

    Thanks ted,
    I suppose I should have been more specific about explaining my problem. I have a drawing that was started by someone else. There are a couple of dozen pieces of what look like single line text but are actually attributes. You're right, they are not attached to any block, nor do I need them to be.
    I can't figure out how to turn them into text (the express tools "explode attributes to text" doesn't seem to be able to "see" them).
    This means that the only way to edit them is to click on the little text editor in the properties manager which is OK but I wondered whether there is a better way. And like I said, I'm curious about why the properties manager lets me put spaces in but the regular text editor doesn't!

  4. #4
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default Re: editing attribute text

    explode attributes to text only works when the drawing is a block, you could try inserting all the contents of the drawing into another drawing, use burst, and then purge the block definition and save the drawing as the original name.

  5. #5
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: editing attribute text

    Quote Originally Posted by lostinusa73 View Post
    Thanks ted,
    I suppose I should have been more specific about explaining my problem. I have a drawing that was started by someone else. There are a couple of dozen pieces of what look like single line text but are actually attributes. You're right, they are not attached to any block, nor do I need them to be.
    I can't figure out how to turn them into text (the express tools "explode attributes to text" doesn't seem to be able to "see" them).
    This means that the only way to edit them is to click on the little text editor in the properties manager which is OK but I wondered whether there is a better way. And like I said, I'm curious about why the properties manager lets me put spaces in but the regular text editor doesn't!
    As far as I know, you can't change raw attributes to plain text with ootb AutoCAD, but there may be a lisp routine out there that could do it.

    That's correct, the burst command only works on defined blocks (not raw attribute definitions).

    I don't know why the properties is allowing you to do that, but you should erase the attributes and place text there, or create a block and use it how it's supposed to be used.

    (good luck)

  6. #6
    Member
    Join Date
    2009-03
    Location
    Never far from a cup of tea.
    Posts
    37
    Login to Give a bone
    0

    Default Re: editing attribute text

    Quote Originally Posted by ccowgill View Post
    explode attributes to text only works when the drawing is a block, you could try inserting all the contents of the drawing into another drawing, use burst, and then purge the block definition and save the drawing as the original name.
    Well, that was interesting...
    I blocked everything out and put it in a new drawing. Then when I "burst" it every one of those attributes turned to the letter "A", flickered back to the original contents for about 1 second, and then returned to the letter "A"! I tried regen but nope... just "A"s.

    Thanks for trying though!

  7. #7
    Member
    Join Date
    2009-03
    Location
    Never far from a cup of tea.
    Posts
    37
    Login to Give a bone
    0

    Default Re: editing attribute text

    Oh well, I guess I'll just retype them...there aren't that many after all.

  8. #8
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: editing attribute text

    Quote Originally Posted by lostinusa73 View Post
    Oh well, I guess I'll just retype them...there aren't that many after all.
    The only other suggestion I can give when using ccowgill's suggestion is: if you change the "default" tag to what you want on those attribute definitions, then copy them into another drawing as a block.
    Then use the burst command and the "default" tag text will remain as edited.

  9. #9
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: editing attribute text


Similar Threads

  1. Attribute text enhancement - linked attribute text
    By Wish List System in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2014-10-22, 06:33 PM
  2. ATTRIBUTE EDITING?
    By CADMama in forum AutoCAD Action Recorder
    Replies: 3
    Last Post: 2013-12-13, 05:12 AM
  3. consistent, right-click, text editing method for any and all text editing
    By autocad.wishlist1734 in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2012-08-06, 07:21 PM
  4. Attribute editing
    By IamSnave in forum AutoCAD General
    Replies: 3
    Last Post: 2009-05-18, 08:33 AM
  5. Replies: 5
    Last Post: 2006-08-11, 01:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •