Zoom and rotate from the program

Technical discussions
Post Reply
Andy_r_723
Posts: 6
Joined: Fri Jul 26, 2013 9:44 am

Zoom and rotate from the program

Post by Andy_r_723 »

Hello
I am wondering if I can programmatically perform the zoom and local axis rotation that can be performed with the left mouse button drag and right mouse button drag on a model. It is not entirely clear to me through the documentation whether I have the functionality.

I also didn't see where I could conveniently read the current local axis orientation.

I would appreciate few pointers
Andy

gerard12
Posts: 21
Joined: Fri Jul 26, 2013 8:34 am

Re: Zoom and rotate from the program

Post by gerard12 »

Hello Andy

Have a look at the View > Rotation, View Point and Zoom samples in the View folder of sample explorer (Start menu). If there are no sample in your language look at similar language. If you take easy the syntax the method should be clear. It sounds like ILook is the most appropriate interface for you. Have a look also at http://www.dynoinsight.com/Help/Interfa ... faces.aspx (or same location in the installed help)

IFrame.GetAxis(I, …) returns coordinates of i-th (0-based) axis. Relevant interfaces can be found at: http://www.dynoinsight.com/Help/Interfa ... rview.aspx
Regards


Gerard

Andy_r_723
Posts: 6
Joined: Fri Jul 26, 2013 9:44 am

Re: Zoom and rotate from the program

Post by Andy_r_723 »

Thanks! It helps
Andy

Post Reply