OnCameraChange » Synchronous rotation of several models

OnCameraChange » Synchronous rotation of several models

Anonymous
Not applicable
329 Views
0 Replies
Message 1 of 1

OnCameraChange » Synchronous rotation of several models

Anonymous
Not applicable

Hi,

 

I use Inventor 2021 and program individual functions for the CAD system using VB.Net in Visual Studio 2019.

 

My issue:
I would like to rotate two 3D-models (i. e. IPT or IAM) in Inventor synchronously in two windows.

 

For this purpose I included an EventListener, which reacts on the event "OnCameraChange" of one window and transfers the camera attributes to the other camera and then updates them with:

Camera2.ApplyWithoutTransition()

(Inspiration: https://spiderinnet2.typepad.com/blog/2013/03/inventor-api-vbnet-camera-events.html)

 

Actually it works...
I rotate the model in the first window and the model in the second window is positioned exactly the same.
But the event is only fired when I finish rotating in the first window and the other model jumps into position immediately.
But I would like to rotate it synchronously. (SOLIDWORKS Tutorial – Compare Tool - YouTube ~2.00 min)

Is it possible to force the event to be fired permanently while I am rotating?

(I once implemented the same functionality in TypeScript with Three.js, where it worked fine with an EventListener.)

 

Apparently, what I want to realize is possible in fusion. Opening a New window to work on multiple views in same time? - Autodesk Community - Fusion 360
Unfortunately I don't have a fusion and I can't try it...

 

Is it possible to assign the same camera to several windows?

How else could one approach the matter?

 

Thanks in advance for your input.

 

Thanks and greetings
MB-Ing.

0 Likes
330 Views
0 Replies
Replies (0)