hexagon logo

Is there a way to obtain the view rotation center of a viewport

I have 2 viewports in our application and previous posts resolved the issue of synchronizing the rotations & translations of the two.
 
I am having an issue if user changes the view rotation center in 1 viewport I can't set it in the other;
 
I see the command uil_toolbar.rotation_center() calls gm_point_on_screen_init, then ga_view_rotation_center_set.
 
I tried ga_view_rotation_center_get() but it doesn't exist. Also, I tried to extract the screen pick from gm_point_on_screen_init(astring) but it stays empty.
 
So question is how to determine the new rotation center just set, then I can apply it to the other viewport.
Parents Reply Children
No Data