Get object coordinate

You need to go through some tutorials and books.
There are some that are specific for SketchUp.

:point_right: Ruby Learning Resources [WikiLists]