I am trying to set up a nested dialog box and use autocad commands in it.
However, I have learned that we cannot do so while the dialog box is open. So my way of going around is that set a dummy variable to a value, then close dialog box, then use the command.
Use the done_dialog function within the action_tile statement for your buttons, supplied with a positive integer argument other than 1 & 0 (these should be reserved for accept/cancel tiles); then test for the integer returned by the start_dialog function to determine which button was pressed and hence which operation to perform.
Yes! It worked. Instead of using get_tile, I can just use the value I put in done_tile. I set up a variable to the return value of start_dialog, then go from there.