Regular API function

simAuxiliaryConsolePrint / sim.auxiliaryConsolePrint

Description Prints to an auxiliary console window. See also sim.auxiliaryConsoleOpen.
C/C++
synopsis
simInt simAuxiliaryConsolePrint(simInt consoleHandle,const simChar* text)
C/C++
parameters
consoleHandle: the handle of the console window, previously returned by the simAuxiliaryConsoleOpen command
text: the text to append, or nullptr to clear the console window
C/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 operation was successful.
Lua
synopsis
int result=sim.auxiliaryConsolePrint(int consoleHandle,string text)
Lua
parameters
Similar to the C-function counterpart.
Lua
return values
Similar to the C-function counterpart.
Python
synopsis
int result=sim.auxiliaryConsolePrint(int consoleHandle,string text)