Current hurdle: MouseClick 2d PIXEL points to Sheet coordinates

Current hurdle: MouseClick 2d PIXEL points to Sheet coordinates

Anonymous
Not applicable
239 Views
1 Reply
Message 1 of 2

Current hurdle: MouseClick 2d PIXEL points to Sheet coordinates

Anonymous
Not applicable
I have successfully implemented Teun Ham's clsGetPoint class in order
to get MouseClick events. However, the point data returned is in pixels!
I cannot seem to find a documented method to get a 2d drawing point
in sheet space with pixel points as the input. Can someone POINT me in
the right direction please?

TIA,
Bob S.
0 Likes
240 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Nevermind, I switched to ModelPosition instead of ViewPosition
and just use X and Y and that seems to work fine.

"Bob S." wrote in message news:4926464@discussion.autodesk.com...
I have successfully implemented Teun Ham's clsGetPoint class in order
to get MouseClick events. However, the point data returned is in pixels!
I cannot seem to find a documented method to get a 2d drawing point
in sheet space with pixel points as the input. Can someone POINT me in
the right direction please?

TIA,
Bob S.
0 Likes