Tim,
I am sorry I don't understand what you mean.
I changed the code to this.
Code:
(DEFUN C:'os1()
(SETVAR "CMDECHO" 0)
(SETVAR CALL "OSMODE" "1")
(SETVAR "CMDECHO" 1)
(princ)
)
Got this
'os1
error: AutoCAD
variable setting rejected: "OSMODE" "1"
Then changed it to this.
Code:
(DEFUN C:'os1()
(SETVAR "CMDECHO" 0)
(SETVAR "OSMODE" "1")
(SETVAR "CMDECHO" 1)
(princ)
)
and got this.
'os1
error: AutoCAD
variable setting rejected: "OSMODE" "1"
Could you show me what needs to be changed in the code.
Thanks,
Kyle C.
Originally Posted by
T.Willey
...So just change your command call to a setvar call, and it should work when you type 'os1.