sim.auxiliaryConsoleOpen
and I'm having trouble understanding how to implement the different modes such as getting the lines to be wrapped and having the user being able to close the console window. I'm not sure how to put this into my current code:
Code: Select all
auxConsoleHandle=sim.auxiliaryConsoleOpen('Data',9,0x111,{1,2})
mode: bit-coded value. Bit0 (1) set indicates that the console window will automatically close at simulation end (when called from a simulation script, the console window will always automatically close at simulation end), bit1 (2) set indicates that lines will be wrapped, bit2 (4) set indicates that the user can close the console window, bit3 (8) is not used, bit4 (16) set indicates that the console will not automatically hide when the user switches to another scene (this only applies when called from an add-on script or the sandbox script).
If someone could provide an example of how to include these bit-coded values in my code, that would be greatly appreciated. Also I have no idea what I'm writing with the 0x111 so please ignore the confusion. Also the position {1,2} does not seem to do anything as the console window always opens in the center of my screen.