Hi,
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.
Hi,
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.
http://developer.rhino3d.com/api/RhinoCommonWin/html/M_Rhino_RhinoApp_RunScript.htm
Runscript has an Echo boolean. When set to false, the input string command will not be shown in the command line.
RhinoApp.RunScript("_SelAll",false);
Does this help?
The echo`` parameter only work to suppress 'get' generated prompts. It does not suppress messages printed by commands - calls to
RhinoApp.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