Whats wrong with this, works in both ACAD & BricsCAD without issue.
: boxed_row {
label = "Select Force Main Pipe Size " ;
: radio_row {
: column {
: radio_button {
label = "1-1/4in. Plastic Pipe";
key = "125pp";
}
: radio_button {
label = "1-1/2in. Plastic Pipe";
key = "150pp";
}
}
: column {
: radio_button {
label = "2in. Plastic Pipe";
key = "200pp";
}
: radio_button {
label = "2-1/2in. Plastic Pipe";
key = "250pp";
}
}
: column {
: radio_button {
label = "3in. Plastic Pipe";
key = "300pp";
}
}
}
}
You can have as many columns as you like, no trick LISP function needed. I will typically use the same variable for the action_tile on radio buttons,
ie;
(action_tile "125pp" "(setq pipesize 1.25)")
(action_tile "150pp" "(setq pipesize 1.50)")
Pretty straight forward.
Using this method it does not matter what the $value of the button is, the last radio button selected sets the pipesize variable. Eliminates the need for a cond function later to sort out the values, you can select all the radio buttons and the last one wins.....
Bruce