Two rows attribute value

  • Thread starter Thread starter John Georgiev
  • Start date Start date
J

John Georgiev

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

23
45

Above to be one attribute in block?
Thanks!
John
 
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
 
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.
 
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.
 
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)
)
 
Back
Top