Hi guys,
I use the following code to set the center point = position of the mouse click:
def onLButtonDown(flags, x, y, view)
puts " x = "
puts " y = "
puts "--------------------- "
centerpoint = Geom::Point3d.new x,y,0
However, the (x,y) seems not to be my mouse's click position. It is just random.
How could I set the center point to be my mouse click position?