Camera manipulation


I have a C# plugin and I would like to have a command where during the execution of the command:

  1. Camera panning is restricted
  2. Camera zooming does not change the camera location.
  3. Camera rotating is restricted to rotate on a fixed center of rotation.

Is there a way for me to implement this?
I have been manipulating the ViewportInfo and calling SetViewProjection method.
I also tried to implement a conduit and during the DrawForeground method call, manipulate the Viewport.
None gives me the behavior that I wanted.

Thank you,
Poh Nee

Moved to Developer category.