Useful Rhino Scripts. Written in Python.
Also have a look at the provided samples here .
Let Rhino automatically load a corresponding Grasshopper definition, when you have openend a .3dm
file. The Grasshopper definition needs to have the same name as the Rhino file and must be in the same folder.
This script makes as many new layers as wanted and puts the selected objects randomly in it.