I’m calling Get2dRectangle() to get an on-screen rectangle. If the rectangle is drawn with the mouse - everything is OK. However Rhino accepts typing the coordinates on the command line, instead of clicking with the mouse.
For example here I typed some coords for the two corners
and the result has nothing to do with the actual values:
If I call CRhinoGetRectangle::Corners() I actually get the second point correct in this case, and I see that m_preview_point holds the value. However I couldn’t find a way to access the first point’ coordinates
Does anyone has an idea how to get the typed coordinates ?