Just in case here was a discussion about this topic I happened to find.

https://groups.google.com/forum/#!msg/sketchupruby/ymKyqD_nxBU/AczVTLjFld4J