ClearOutput

Removes all output from the output window

Menu

Display -> Clear Output Buffer...

Keyboard shortcut

Shift+Ctrl+C

Example of script call

world.DoCommand "ClearOutput"