Hello. I'm trying to get some macros I've written for LT to work in regular AutoCAD using a similar syntax. Here are some short examples...
======== I'm trying to save the last point picked as a registry setting using:
[&Pick Point]^C^C_id \(setenv "ActivePt" (getvar "lastpoint"))I get the following error:
Command: (setenv "ActivePt" (getvar "lastpoint")) ; error: bad argument type: stringp (1.62005 41.933 0.0)
Can anyone help?
======== Also, can anyone tell me why this works?
[Save]^C^C(setenv "Temp1" (getvar "clayer"))But this doesn't?
[Save]^C^C(setenv "Temp1" (getvar "clayer"))_line ========Thanks, Mark