https://alexschreyer.net/cad-bim/sketchup-script-clips-1-setup-and-basic-ideas/
SketchUp script clips #1: Setup and basic ideas