Great work on both parts Grrr1337 and CAB. Thanks. I have questions.
Grrr1337. Please just confirm for me. I'd like to search and destroy for myself.
As it stands now this only allows for 0.25 and 0.5. I know some users like to forego enter the "0" and just use .25 or .5.
Is there a way to insure either input is accepted.
(cond ((getkword "\nEnter LTSCALE [0.25/0.5] <0.5>: "))("0.5")) )
)
)
CAB
I placed the GetNumInRange Defun code right after my routines defun and placed
(GetNumInRange 0.25 1.0 39 "\nEnter number [0.25 =< Num >= 1]."
"\nError - entry is out of range. Try Again.")
)
Just below my if statement.
(command "-linetype" "l" a
"acad.lin" "") )
(GetNumInRange 0.25 1.0 39 "\nEnter number [0.25 =< Num >= 1]."
"\nError - entry is out of range. Try Again.")
)
(command "._layer" "make" "CLOUD" "Color" "RED" "CLOUD" "")
)
It prints the message to the command line and I can enter a number. However, the ZigZag line result is always Ltscale of 1.0 no matter what I enter.