sketchupfordesign.com
Drop Selection to Ground with Ruby (Snippet) | SketchUp for Design
he following simple code snippet takes any objects (groups or components) that you have selected and drops them to the ground (i.e. moves them to z = 0).
Alex Schreyer