VizMantis
03-02-2009, 11:50 PM
I was wondering if there was anyway to grab warning messages that appear in the scriptEditor into a variable or something I can use to work with in a script?
For instance, when using rigidBody, I might get the warning message Warning: Rigid Body interpenetration occurred between 'rigidBody1' and 'rigidBody2'. I would really like to parse this warning message so I can pull out rigidBody1 and rigidBody2, as I can't find any way to query rigidBody or rigidSolver to give me this info.
For instance, when using rigidBody, I might get the warning message Warning: Rigid Body interpenetration occurred between 'rigidBody1' and 'rigidBody2'. I would really like to parse this warning message so I can pull out rigidBody1 and rigidBody2, as I can't find any way to query rigidBody or rigidSolver to give me this info.
