Sketchup user input

How do I get user input in sketchup?
How do I prompt for a point selection?
then find a rectangle from 2 more points?
How do I prompt for a edge, or face selection?

Buzzie09 wrote:

How do I get user input in sketchup?
How do I prompt for a point selection?
then find a rectangle from 2 more points?
How do I prompt for a edge, or face selection?

The SketchUp Ruby API is documented here:
http://download.sketchup.com/sketchuphelp/gsu6_ruby/Docs/

Have a dig, it’s all in there (if a little confusing at times).