hi~i read this
https://www.theswamp.org/index.php?topic=34804and has two questions about grread
1)
if i want to add else keyword into LM:UCS-ssget,how can i add it.
(setq size (LM:UCS-ssget (strcat "\n->[ARC(A)/CIRCLE(B)/ARC and CIRCLE(N)]
\n->Filter by:[radius size(R)/circle color(C)/circle linetype(L)]
\n->select object or[setting(S)]{now radius size" (rtos radius size) "now circle color" (rtos circle color) "now circle linetype" circle linetype "}:")))
if key A
(ssget (list '(0 . "ARC")))
if key B
(ssget (list '(0 . "CIRCLE")))
if key N
(ssget (list '(0 . "ARC,CIRCLE")))
if key R
enter radius size setting
(setq radius size (getreal))
then back (setq size (LM:UCS-ssget
if key C
enter circle color setting
(setq circle color (acad_colordlg 7))
then back (setq size (LM:UCS-ssget
if key L
enter circle linetype setting
(setq circle linetype (getstring))
then back (setq size (LM:UCS-ssget
if i key A and setting radius size=5 circle color=2 circle linetype="HIDDEN"
get (ssget (list '(0 . "ARC" (cons 40 5) (cons 62 2) (cons 6 "HIDDEN"))))
it can make it?
2) and grread can use both getstring and keyword , if enter getstring word not affected by keyword(if Key A can enter else funtoin but getstring word has "A" alphabet.)
on grread funtion use Right click and Enter has different?