Touch Navigation using Controls API

Touch Navigation using Controls API

Anonymous
Not applicable
573 Views
3 Replies
Message 1 of 4

Touch Navigation using Controls API

Anonymous
Not applicable

I have been exploring the controls API samples MDI Viewer and SDI Viewer that are bundled with the SDK. I noticed that touch screen navigation such as pinch to zoom and pan are not recognized by the control. However, the Navisworks product itself provides support for touch navigation based on the naviagtion tool. For example, I could be in the pan mdoe and use pinch to zoom.

0 Likes
574 Views
3 Replies
Replies (3)
Message 2 of 4

xiaodong_liang
Autodesk Support
Autodesk Support
Hi,

So, you are talking about touch screen, instead of mobile, right? ActiveX control was born long time ago before touch screen, I do not think it has taken touching into consideration. As to .NET control, it has not supported interactive events such as key and mouse. so either does touch.

is it possible the touch could be converted so a kind of mouse clicking from the perspective of the device? if yes, i guess it might be working...
0 Likes
Message 3 of 4

Anonymous
Not applicable

Xiaodong, Thanks for your response. Yes, I am talking about touch and I understand your point regarding ActiveX controls. My question was regarding different behavior when using the Navisworks application versus the use of the control in a forms application. From the testing I have done, the Navisworks application provides touch support such as pinch to zoom in pan mode. However, the same behavior is not reflected via the control. Doesn't the Navisworks application use the control as well internally?

0 Likes
Message 4 of 4

Anonymous
Not applicable

Hi swiftbim,

 

If you are up for the challaenge, you could try the touch API of the device, and interpreting the events (number and size of contacts, variation of distances between contacts etc.) back into camera movements in Navisworks. I find it as interesting as it is challenging...

 

Nic

0 Likes