Two rows attribute value

Discussion in 'AutoCAD' started by John Georgiev, Jun 2, 2004.

  1. Is it possible to have two rows attribute value?
    Example:

    23
    45

    Above to be one attribute in block?
    Thanks!
    John
     
    John Georgiev, Jun 2, 2004
    #1
  2. Attributes cannot word-wrap.

    --
    R. Robert Bell


    Is it possible to have two rows attribute value?
    Example:

    23
    45

    Above to be one attribute in block?
    Thanks!
    John
     
    R. Robert Bell, Jun 2, 2004
    #2
  3. I know, but I'm asking because there might be something hidden (like \X with
    the dimensions). I don't care the text to be between some limits. Only I
    need is to be 2 rows attribute.
     
    John Georgiev, Jun 2, 2004
    #3
  4. John Georgiev

    OLD-CADaver Guest

    Nope, not yet. You need two separate attributes.
     
    OLD-CADaver, Jun 2, 2004
    #4
  5. John Georgiev

    Walt Engle Guest

    You are on the right track - make two rows of attributes.
     
    Walt Engle, Jun 2, 2004
    #5
  6. Yes, but guys, I want to manipulate with some routines this as one attribute
    (one number 2345). Simply wherever I want this number, the space is limited
    and I can't change the text size anymore - it becoming unreadable.
     
    John Georgiev, Jun 3, 2004
    #6
  7. It would be simple enough with AutoLisp to take input 2345 and separate
    input 2 attributes.

    Example using Block with 2 attributes -

    (defun C:IB (/ BlockNumber P0 ScaleFactor BlockRotation)
    (setq ScaleFactor 1.0 BlockRotation 0.0)
    (setq P0 (getpoint "\nPick Block Insertion Point ? "))
    (setq BlockNumber (getstring "\nInput Block Attribute Number with 4
    characters ? "))
    (if (= (strlen BlockNumber) 3) (setq BlockNumber (strcat "0"
    BlockNumber))) ; add 0 if number is 3 characters
    (command "INSERT" "BlockName" P0 ScaleFactor ScaleFactor BlockRotation)
    (command (substr BlockNumber 1 2) (substr BlockNumber 3 2))
    (princ)
    )
     
    Alan Henderson @ A'cad Solutions, Jun 3, 2004
    #7
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.