Hi, how can I get the point list with getrectangle method in python?
a = Rhino.Input.RhinoGet.GetRectangle()
Try this:
import Rhino
rc, corners = Rhino.Input.RhinoGet.GetRectangle()
if rc == Rhino.Commands.Result.Success:
for pt in corners:
print pt
– Dale
@dale this code work but I have one question
we have a four point. how can print only one point
import Rhino
rc, corners = Rhino.Input.RhinoGet.GetRectangle()
if rc == Rhino.Commands.Result.Success:
print corners[0]
@dale thank you very much. You have been very helpful