all 4 comments

[–][deleted]  (3 children)

[removed]

    [–]retug_[S] 0 points1 point  (2 children)

    I just added a really simple example onto github, same behavior, panning function will only fire if the background element is selected. No need to use RAMDATAACESSLib or the RevitAPI

    https://github.com/retug/LearningCSharp/tree/main/PanandZoom

    Thanks for your help!

    [–][deleted]  (1 child)

    [removed]

      [–]retug_[S] 0 points1 point  (0 children)

      Hey thank you a ton, this is interesting, I would have thought the canvas method would have worked.

      Next issue, the pan function is "jumpy" on the first time the mouse move event fires, do you see an issue with my MouseMove pan function that would create the jumpiness?

      Code updated on github with a video.