Mr Whippy Posted 19 hours ago Posted 19 hours ago I'm writing a lisp routine to automation drawing revision in lisp. to replace a diesel version. I have come across a problem when inserting the block using lisp, in diesel it works perfectly. The block has four attributes, with the last being a multiline attribute. The routine stumbles at this point and misinterprets the pause for user input as \ and returns the error 'unknown command'. The diesel code that works is below. attdia;0;-I;REVNOTE;\;1;;P01;""$m=$(edtime,$(getvar,date),DD.MO.YYYY)"";SMS;First issue;;attdia;1;rea; The same in lisp below (command "attdia" "0") (command "_Insert" "REVNOTE" pause 1 1 0 "P01" Date Initials pause) (command "attdia" "1") (command "REA") Any ideas on why this is happening as i'm stumped, unless its a bug in AutoCAD. many thanks REVNOTE.dwg Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.