AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...
AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...
(OP)
In R2000, I could use this line of LISP code...
(command "-insert" "bill_note_left" P4 (* (getvar "dimscale") 1) "" "0" AttReq AttRSP JOB+PTSQ2 AttRev AttRelBy AttRelDate AttDesc AttMfg AttMisc AttCode SNStr LN AttIMNO AttIMDESC IN) ;; insert block with attributes
In R2004, once it hits the attribute the code stops...
(command "-insert" "bill_note_left" P4 (* (getvar "dimscale") 1) "" "0" ...
Any remedies to this?
(command "-insert" "bill_note_left" P4 (* (getvar "dimscale") 1) "" "0" AttReq AttRSP JOB+PTSQ2 AttRev AttRelBy AttRelDate AttDesc AttMfg AttMisc AttCode SNStr LN AttIMNO AttIMDESC IN) ;; insert block with attributes
In R2004, once it hits the attribute the code stops...
(command "-insert" "bill_note_left" P4 (* (getvar "dimscale") 1) "" "0" ...
Any remedies to this?





RE: AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...
RE: AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...
RE: AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...
Wait a minute, are you aware that ATTREQ is an AutoCAD system variable? Are you resetting it to a variable within your lisp function?
... anyway, TEXTEVAL determines how autocad text functions evaluate strings in commands.
RE: AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...