generative modeling for Rhino
I have a few conditions I want to have warnings or errors for in my code. I see the GH_RuntimeMessageLevel enum, but how is it that one can utilize it to display the appropriate warning or error color for the component? I will probably bump into it sooner or later, but I wanted to ask here as a bit of searching didn't turn up anything obvious.
Tags: GH_RuntimeMessageLevel, error, warning
AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, "Warning message here");
Warning turns component orange, Error turns it red.
Permalink Reply by Luis Fraguada on February 25, 2013 at 5:36am Exactly what I needed. Thanks a lot!
Added by David Stasiuk 8 Comments 24 Likes
Added by stefano 5 Comments 8 Likes
© 2013 Created by Scott Davidson.
Powered by