Ading a second line to dimension text

Discussion in 'AutoCAD' started by mgorecki, Feb 24, 2005.

  1. mgorecki

    mgorecki Guest

    I'm adding dimensions to a drawing and, in some cases, add a second line to the dimension text. The dimpost doesn't seem to want to do this (unless I'm not doing it right). I want to be able to do this in one command (add the dimension with the extra text on the second line), but I may be forced to have the program change the text afterward. Any help would be greatly appreciated.
    Mark
     
    mgorecki, Feb 24, 2005
    #1
  2. mgorecki

    Walt Engle Guest

    If it is dtext, I have a lsp routine that is exactly what you need. Let me know.
     
    Walt Engle, Feb 24, 2005
    #2
  3. mgorecki

    Gordon Price Guest

    Mark, the best way i know of is to edit the dim text, which by default is
    "<>" (the <> tells Acad to put the dim value here) and add "\Xtext". The \X
    will drop you to a second line, below the dim line if you are using a
    standard architectural kind of dimension, then you type whatever text you
    want. I have created right lisp or menu macros to do things like <>\XTYP or
    <>\XMIN, that kind of thing, as well as some to restrore the text string to
    just <>. For basic editing it works like a champ.

    Hope that helps.

    Gordon
     
    Gordon Price, Feb 24, 2005
    #3
  4. mgorecki

    Walt Engle Guest

    Forget what I sent - using \X is best bet.
     
    Walt Engle, Feb 24, 2005
    #4
  5. BTW, you can also use other Mtext codes to alter text.

    To wit:

    "\P" will insert a line break in the dimension string, so the text will all
    appear above (or below) the dimension line. You can use this with \X to create
    associtative but highly verbose dimensions, e.g. "<> \PCLEAR\XVERIFY IN FIELD"

    "\W" will apply a width factor to the text, e.g. "\W0.875 <>". Nice for
    squeezing in the text for smaller dimensions. But in my experience you do need
    the space between the width # and the <>.

    Matt

     
    Matt Stachoni, Feb 25, 2005
    #5
  6. mgorecki

    David Kozina Guest

    Matt,

    Nice \W tip! Thanks!

    Best regards,
    David Kozina
     
    David Kozina, Feb 25, 2005
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.