Click or drag to resize

DialogsShowLayerMaterialDialog Method

Show a modal dialog to edit the material in the layer specified in layerIndices.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static bool ShowLayerMaterialDialog(
	RhinoDoc doc,
	IEnumerable<int> layerIndices
)

Parameters

doc
Type: RhinoRhinoDoc
Rhino document
layerIndices
Type: System.Collections.GenericIEnumerableInt32
true if the new layer button will be visible.

Return Value

Type: Boolean
True if the dialog was closed with the OK button. False if the dialog was closed with escape.
See Also