Verifies that a layer is expanded. Expanded layers can be viewed in Rhino's Layer dialog.
Rhino.IsLayerExpanded (strLayer)
strLayer |
Required. String. The name or identifier of the layer to test. |
Boolean |
True if expanded, False if collapsed. |
Null |
On error. |
If Rhino.IsLayerExpanded("Default") Then
Rhino.ExpandLayer "Default", False
End If