Redrawing Material UI

Hello All,

I am fairly new to Rhino.Render.RenderMaterials and am wondering after changing a material’s parameters is there a command to Update the Material UI. I have tried Rhino.Render.RenderMaterial.ContentUpdatePreview and Rhino.Render.RenderMaterial.ContentChanged which doesn’t seem to actually force a redraw of the Material Browser. What I currently have written does eventually update, but I assume it is redrawn after some other event is triggered that asks it to be redrawn correctly.

Any information would be extremely useful! :smiley:


Make sure you bracket your changes to materials between BeginChange() and EndChange()

1 Like