Removes an existing layer state from the document.
Rhino.DeleteLayerState (strState)
strState |
Required. String. The name of an existing layer state. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Sub TestDeleteLayerState
Dim objPlugIn
On Error Resume Next
Set objPlugIn = Rhino.GetPluginObject("Rhino Bonus Tools")
If Err Then
MsgBox Err.Description
Exit Sub
End If
Call objPlugIn.DeleteLayerState("Layer State 01")
End Sub