pyui.end_modal_ok - pytha-3d-cad/pytha-lua-api GitHub Wiki

Ends a modal (sub-) dialog. Equivalent to pressing the OK button.

pyui.end_modal_ok() 

Note:

This function is specific to the current modal environment / dialog and can only be set within a (sub-) dialog.

See also:

pytha, pyui.run_modal_dialog, pyui.run_modal_subdialog, pyui.end_modal_cancel