Expands a layer. Expanded layers can be viewed in Rhino's Layer dialog.
Rhino.ExpandLayer (strLayer, blnExpand)
strLayer |
Required. String. The name or identifier of the layer to expand. |
blnExpand |
Required. Boolean. True to expand, False to collapse. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
If Rhino.IsLayerExpanded("Default") Then
Rhino.ExpandLayer "Default", False
End If