Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Is there a way to format a field for multi-line?

  1. #1
    I could stop if I wanted to dfarris75's Avatar
    Join Date
    2004-12
    Location
    where ever i'm at
    Posts
    252
    Login to Give a bone
    0

    Default Is there a way to format a field for multi-line?

    I have a drawing name that is long and I want to break the text in a specific place, but the ssm won't allow me to use coding such as {first line of text}\p{second line of text}. Is there a way, an alternate code, you can use to get it to do a line return (ie-text break) at a specific location in the line of text?

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Question Re: Is there a way to format a field for multi-line?

    Hi

    Are you using an MText Object as the basis of your Field Object ?

    Have a good one, Mike

  3. #3
    All AUGI, all the time SRBalliet's Avatar
    Join Date
    2004-06
    Location
    Near Christiansburg, VA Looking for a closer job!
    Posts
    500
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    Once you have a field in your drawing, pick it and in your properties dialog box assign a width to it to wrap the text.

    To get it to break at a certain spot I don't think you can do. I could be wrong.

  4. #4
    AUGI Addict sinc's Avatar
    Join Date
    2004-02
    Location
    Colorado
    Posts
    1,986
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    Quote Originally Posted by srb
    To get it to break at a certain spot I don't think you can do. I could be wrong.
    I haven't been able to find any way to do that.

    At first, I though I could put a Field inside an MTEXT and have a version of the elusive multi-line attribute, and I was overjoyed. Then I discovered I couldn't control the line breaks, and I was back at square one again. They look really stupid when the last word ends up on a line by itself.

    Multi-line attributes have been on my wishlist for a LONG time. Now the ability to control linebreaks in Fields is on the same list.

  5. #5
    100 Club jpduhon's Avatar
    Join Date
    2005-10
    Posts
    153
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    please correct me if I'm wrong but that can only be done with fields that are live in the drawing, correct?

    I ran into a similar roadblock when trying to automate sheet info. If the field is simply placed in the block it will not update unless you edit the block in-place and then regen. If you place the field within an attribute the field will update automatically but you are limited to one line since attributes cannot have multiple lines. So if you have a long sheet title you're up a creek. The best solution I found is to have three lines of attributes in the titleblock with the first line only containing the field. If the title is too long to fit on one line the user has to double click the block to access the attributes. Partial automation is better than no automation.

  6. #6
    AUGI Addict sinc's Avatar
    Join Date
    2004-02
    Location
    Colorado
    Posts
    1,986
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    I ran into that problem with 2006, but I thought I got it working in 2007. Maybe I'm mistaken. Even though I thought I got it to "sort of" work, it didn't work in any useful way (since I couldn't control where the lines were breaking), so I gave up on it.

    I thought that was with an MTEXT inside our title block, hooked to a Sheet Set field, but maybe it wasn't. I'll poke around with it a bit more when I get a chance.

  7. #7
    All AUGI, all the time SRBalliet's Avatar
    Join Date
    2004-06
    Location
    Near Christiansburg, VA Looking for a closer job!
    Posts
    500
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    Quote Originally Posted by sinc
    I thought that was with an MTEXT inside our title block, hooked to a Sheet Set field, but maybe it wasn't. I'll poke around with it a bit more when I get a chance.
    That is how I do it. The field ends up being one long string, but then use your properties dialog box to give it a width that will fit in the title block space requirement. But again, you can't control where it breaks.

    The only other way I can think of would be to put multiple custom Sheet Set Fields (2 or 3 whatever you require) then fill them in how you want it to break.

    For example:

    (First line custom field) John Doe
    (Second line custom field) 100 Main Street
    (Third line custom field) Anytown, USA

    That works better than:

    John Doe 100
    Main Street Anytown,
    USA
    Last edited by SRBalliet; 2006-12-14 at 12:17 PM.

  8. #8
    Retired Forum Staff Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    Those are all good ideas .... or you could try as Mike suggests and insert the field into an MText Object. I think it might work better that way - it's at least worth a shot ...
    Last edited by Rico; 2006-12-13 at 02:10 PM.
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

  9. #9
    Retired Forum Staff Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    Personally, in our company, our title block has 3 fields for title area. It's designed so that the drafter, upon seeing that their title has exceeded the space in the title's first line, will go to the next line and so on.

    For some reason, inserting the field in an MText object is not somethign our CAD Committee wants to do even though it might be easier?
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

  10. #10
    AUGI Addict sinc's Avatar
    Join Date
    2004-02
    Location
    Colorado
    Posts
    1,986
    Login to Give a bone
    0

    Default Re: Is there a way to format a field for multi-line?

    Quote Originally Posted by max.sabre
    Personally, in our company, our title block has 3 fields for title area. It's designed so that the drafter, upon seeing that their title has exceeded the space in the title's first line, will go to the next line and so on.

    For some reason, inserting the field in an MText object is not somethign our CAD Committee wants to do even though it might be easier?
    No, like we've been saying, there's no way to control how the lines break inside the MTEXT. You can't include a "\P" or anything like that - it doesn't work. This can create some pretty sorry-looking title blocks.

    So we do like others have been saying, and have three seperate attributes attached to three seperate Fields in the SSM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Sheet Set w/ a Multi-line Field
    By daniel.191403 in forum AutoCAD Sheet Set Manager
    Replies: 14
    Last Post: 2019-02-18, 06:56 PM
  2. how to save field format in block
    By bstk in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2014-06-25, 10:31 AM
  3. Linefeed override in multi-line attribute with field
    By JaCAD in forum AutoCAD Fields
    Replies: 1
    Last Post: 2011-05-23, 11:57 AM
  4. format / multi-line of text label
    By Ning Zhou in forum Revit Architecture - General
    Replies: 0
    Last Post: 2009-11-16, 04:10 PM
  5. Field Format Settings
    By mraafateg in forum ACA General
    Replies: 13
    Last Post: 2007-09-12, 01:52 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
  •