So there is in a syntax error in the Layer State Name help file. The I in PlugIn should be capitalized.
plugin = rs.GetPluginObject("Rhino Bonus Tools")
Should be
plugin = rs.GetPlugInObject("Rhino Bonus Tools")
So there is in a syntax error in the Layer State Name help file. The I in PlugIn should be capitalized.
plugin = rs.GetPluginObject("Rhino Bonus Tools")
Should be
plugin = rs.GetPlugInObject("Rhino Bonus Tools")
Got it, thanks.
If you want to track the issue, here is the link: