; DCL Bit
: boxed_row {
: radio_column { key = "action" ; }
: radio_button { label = "Draw Line" ; key = "linel" ; }
: radio_button { label = "Add Text" ; key = "textl" ; }
: }
: column {
: text { label = "Select Layer" ; }
: list_box { key = "layname" ; }
: }
: }
; LISP Bit (Due to BricsCads habit of selecting 1st radio option, need to pre-define values in case user doesn't select radio button)
linel '("line 1" "line 2" "line 3")
textl '("text 1" "text 2" "text 3")
)
; ----- load dcl here -----
(action_tile "action" "(start_list \"layname\")(mapcar 'add_list (read $value))(end_list)") (action_tile "layname" "(set (read $key) (nth (atoi $value) (read(get_tile \"action\"))")