I have a ClientGraphics on an InteractionGraphics object set with some SurfaceGraphics. The surfacegraphics load fine but having issues with positioning.
I am trying to update the the graphics to move with the cursor using the OnMouseMove event, but I'm having problems reconciling the SurfaceGraphics orgin and the mouse cursor. Ideally I'd like the graphics to behave similiar to the graphics during the place component command.
How do the SurfaceGraphics position relate to the current view.
I've tried using the SetTransformBehavior, and SetViewSpaceAnchor with mized results. (None of which are desirable) What are the correct methods to be used to update the position of the graphics to 'follow' the cursor. I'm not necessarily using this to select an existing object, but more abitrary points in space or points on an object.
Thanks.
Solved! Go to Solution.
Solved by rjay75. Go to Solution.
I figured it out. I need to use the Transformation property on the graphics node the surfacebody belongs to. Then I can update the clientgraphics as normal.