Regular API function

simGetDialogInput / sim.getDialogInput

Description Queries the text of the edit box of a generic dialog box of style sim_dlgstyle_input. To be used after sim.displayDialog was called and after sim.getDialogResult returned sim.dlgret_ok
C synopsis simChar* simGetDialogInput(simInt genericDialogHandle)
C parameters
genericDialogHandle: handle of the generic dialog
C return value
Pointer to a text buffer or nullptr in case of an error. The user is in charge of releasing the returned string with simReleaseBuffer.
Lua synopsis string input=sim.getDialogInput(int genericDialogHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart
Remote API equiv.
B0-based remote API: simxGetDialogInput
Legacy remote API: simxGetDialogInput