Regular API function

simAuxiliaryConsoleClose / sim.auxiliaryConsoleClose

Description Closes an auxiliary console window. See also sim.auxiliaryConsoleOpen.
C synopsis simInt simAuxiliaryConsoleClose(simInt consoleHandle)
C parameters
consoleHandle: the handle of the console window, previously returned by the simAuxiliaryConsoleOpen command
C return value
-1 if operation was not successful. 0 if the console doesn't exist (anymore), in which case no error is generated. 1 if the console window was closed.
Lua synopsis number result=sim.auxiliaryConsoleClose(number consoleHandle)
Lua parameters
Same as C-function.
Lua return values
Same as C-function.
Remote API equiv.
B0-based remote API: simxAuxiliaryConsoleClose
Legacy remote API: simxAuxiliaryConsoleClose

All regular API functions on one page