Disabling output to command history window


#1

Hello,

is there a way to do this? Especially when using rs.command (for example _SelCrossing) in a loop there is generated much output, that cannot be disabled with echo = False.
Have a nice Evening!

Philip


#2

Nope. That stuff is hard coded somewhere in the core…

–Mitch


#3

|. Thanks for this info.


(Menno Deij - van Rijswijk) #4

In RhinoCommon there are the following properties and functions:

Rhino.ApplicationSettings.AppearanceSettings.EchoCommandsToHistoryWindow
Rhino.ApplicationSettings.AppearanceSettings.EchoPromptsToHistoryWindow
RhinoApp.ClearCommandHistoryWindow()

Maybe that will help


#5

Thanks for your hint Menno. But these seem to have no effect on the output I try to get rid of - like “x curves added to selection” after executing a selection command.


(Dale Fugier) #6

It is not possible to suppress print (e.g. Rhino.RhinoApp.WriteLine) statement made by commands.