Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoCAD 2000 to 2004 - AutoLISP Insert into Dialog Boxes...

Status
Not open for further replies.

sanders720

Mechanical
May 22, 2003
4
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?

 
Replies continue below

Recommended for you

I don't have a clue to your problem, I'm just curious. Why are you multiplying the DIMSCALE times 1?
 
Great question. I have no idea. This program was written three years ago when we upgraded to 2000, and I have no idea why I wrote it this way. It does however, work in 2000.
 
Check TEXTEVAL. I'm assuming you're assigning values to ...

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.
 
The attdia variable is a little touchier in 2004 vs 2000!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor