Hi I need to draw a point on the Cplane under the mouse.. but the routine I grabbed from the samples has a big offset?
class CustomConduit : DisplayConduit
protected override void PostDrawObjects(DrawEventArgs e)
RhinoView view = RhinoDoc.ActiveDoc.Views.ActiveView;
var P = Cursor.Position;
Transform xform = view.ActiveViewport.GetTransform(CoordinateSystem.Screen, CoordinateSystem.Camera);
Point3d world_point = new Point3d(P.X, P.Y, 0.0);
and this is what I am getting? How can I get a point directly under my mouse
I am not using any kind of GET, I need this outside of any of those routines.