Don't want to display anything in the command prompt using C#




I am writing a code in Rhino API C#. I am using script for some functionality and does not want any thing to be displayed in the command prompt. Is there any option to control the display.

Clear command does not work.

(Travis Serio) #2

Runscript has an Echo boolean. When set to false, the input string command will not be shown in the command line.


Does this help?

(Dale Fugier) #3

Hi @Engineer_Engineer,

The echo`` parameter only work to suppress 'get' generated prompts. It does not suppress messages printed by commands - calls toRhinoApp.WriteLine``` for example.

If you are trying to hide the results of scripting a command, you might consider clearing the command history windows when your scripting command finished. You can do this by calling RhinoApp.ClearCommandHistoryWindow.

– Dale