flush console

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/04/2012 at 04:09, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   13 
Platform:      
Language(s) :     C++  ;   PYTHON  ;

---------
is there a way  we can flush / clear the console from code level ? hitting the x button doesn't
generate a callcommand in the scriptlog. i also couldn't find anyhing on this topic in the help
files, the forum, google and in the ressource folder.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/04/2012 at 04:16, xxxxxxxx wrote:

Dragging the clear console shortcut to the script manager gives

c4d.CallCommand(13957);

does the trick

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/04/2012 at 04:18, xxxxxxxx wrote:

ah thanks, oddly that didn't work for me (the dragging), however thanks for the id 🙂