Parameters:
- color
- Type: System.Drawing.Color
- Layer color.
Returns:
The layer's index (>=0) is returned. Otherwise, RhinoMath.UnsetIntIndex is returned.
Remarks:
Note, the layer name will be modified as needed in the model and manifest.
Available since:
7.30