Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi!
How do I detect that a user currently rotates/pans/zooms a view? Or any other view modification is being performed by a mouse or by any commandfrom toolbars/menu ?
Is there any API for this?
Thanks in advance!
I think there is no "notification" command _PRE or _POST for model rotation or panning.
As far as I know the only possible way to find out if there was a change in viewing/zoomin/panning: functions that read the view transformation and the screen transformation - there the zoom and pan is stored and it changes when the model has been rotated or zoomed. But this is not a "event" trigger of course.
Greetings from Frankfurt/Germany
Andreas
__________________________________
Andreas Hellmann
MCAD Services Pro/E & Pro/E customization
phone: +49 6145 598296
mail: -
Hi Roman,
I would use notifications PRO_MDL_DISPLAY_POST or PRO_MDL_DISPLAY_PRE, where I'd stored previous transformations and compare it with the current one.
Regards,
Vladimir
In Reply to Roman Khvostikov:
Hi!
How do I detect that a user currently rotates/pans/zooms a view? Or any other view modification is being performed by a mouse or by any commandfrom toolbars/menu ?
Is there any API for this?
Thanks in advance!
Look at ProNotificationSet() using the ProMdlDisplayPreAction.