Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/05/2025 in all areas

  1. Here is multi radio buttons single row or column and a 2column version. Instructions are in the top of the code. You just need to save the multi lsp's into a support path or use full path when doing the (load From the code (if (not AH:Butts)(load "Multi Radio buttons.lsp")) (if (= but nil)(setq but 1)) (setq ans (atoi(ah:butts but "V" '("Choose a number" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10")))) ; ans holds the button picked as an integer value I wont go into it now but you can convert the dcl code made into lsp code. So don't need the multi radio.lsp. Ps Multi Toggles & Multi getvals also available.
    1 point
  2. @SLW210Just a comment I use my Multi toggles.lsp to write the dcl code. so need about 3 lines of code to do all the dcl toggle. The answer is returned as a list of (0 1 1 0 1 1 0) etc meaning the toggle is on or off then compare that to your variables as an example (nth 0 ans) = 1 so search = (nth 0 lst) else is nil. I also use the RLX convert dcl to lisp.lsp so just edit the multi toggles.lsp to write to a file it saves a lot of typing, then use the RLX convert and it makes the code for insertion into your lisp. Saves typo's. .Multi toggles.lsp
    1 point
×
×
  • Create New...