Description:

Called to enable/disable the "Edit" button located on the "Material" in the Properties and Layer dialog boxes. The default return value is False which will disable the button. If the button is disabled then the OnEditMaterial function is never called.

Syntax:
public virtual bool EnableEditMaterialButton(
RhinoDoc doc,
Material material
)
virtual
Returns:
Type: bool
Available since:
5.12

/
/
/
EnableEditMaterialButton

EnableEditMaterialButton method

Class:  Rhino.PlugIns.RenderPlugIn

Nothing found