How to suppress messages in the Python console?
-
wrote on 11 Dec 2024, 20:28 last edited by gbgbha 12 Nov 2024, 23:11
Is it possible to suppress the default messages from the built-in methods like simulation.CreateVoxels() or SurfaceFieldFluxEvaluator().Update()?
For context: I have a python script to create voxels, run and then perform analysis on multiple simulations. The script also print to the Python console some customized messages with information relevant to my project. However, these messages are often displaced by the default messages from s4l and I need to scroll far up to look for the relevant info.
Thanks,
gbh(Edited: typo)
-
wrote on 9 Jan 2025, 14:56 last edited by
As far as I'm aware it is not possible to suppress those messages. Maybe try writing your customized messages into a log file instead?