There are some tutorials on API usage, under "introduction" on http://www.sketchup.com/intl/en/developer/ . The specific tutorial you're looking for is http://www.sketchup.com/intl/en/developer/docs/tutorial_geometry
💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
P