Post Moved for Lisp Forum: here is the Link
I'm creating a function for talude. But, on the line:
command "chprop" ULT "" "LT" "" "autotalude1" "")
it doesnt recognizes the command.
can anyone tell me why?
Here is the part of the code where I invert the propertie:
(setq ULT (entlast))
(command "pedit" ult "spline" "")
(setvar "celtype" "autotalude2")
(initget 1 "S N")
(setq inv (getkword "\nWant to Invert?<S/N>"))
(if (= inv "S")
(command "chprop" ULT "" "LT" "" "autotalude1" "")
(setvar "celtype" "autotalude1")
;(command "pedit" ULT "r" "" "yes" "" "s" "")
;(command "pedit" ult "S" "")
)