r</em>) – Layer name.</p></li>
<li><p><strong>color</strong> (<em>System.Drawing.Color</em>) – Layer color.</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>The layer’s index (&gt;=0) is returned. Otherwise, RhinoMath.UnsetIntIndex is returned.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="rhino3dm