pyux.select_pyo - pytha-3d-cad/pytha-lua-api GitHub Wiki
Opens the file selector and returns a handle to a .pyo file.
pyux.select_pyo([old_file])
| Parameter | Type | Description |
|---|---|---|
old_file |
file_handle |
Optional: handle to a .pyo file |
Return value
| Type | Description |
|---|---|
file_handle |
The new file handle. nil if selection was cancelled. |
By passing old_file to the function, the file explorer will open the directory containing old_file.