How to configure 2 views to show an element in same size?

I have got another one for the experts ... :-)


Here's my situation:

The screenshot shows view1 and view2 - both show the same elements (a number of SmartSolid-Elements). View1 is a front view while view2 is top view.


I am looking for a way to zoom view2 so that the element appears in the same size ratio:

How can this be achieved?

Parents
  • Hi,

    I guess it would be (depending on specific conditions) not very complicated: Take an element (even a virtual), using both views parameters calculate how such element is displayed in the views (depending on rotation the size is different) and set parameters of the second view accordingly to this calculation.

    Some (pre)conditions exist

    • Only non-perspective view can be used.
    • The size is easy, the same position inside views as displayed in you example is completely different story, because insuch case you have to interact with window manage.
    • The view will be on the same monitor. To set the same element size on two different monitors (possibly different resolution, DPI etc.) is substantially more complex and not sure if even possible.

    I am not sure if VBA is enough, but as usually C/C++ APIs are much better to work with view parameters.

    Regards,

      Jan

Reply
  • Hi,

    I guess it would be (depending on specific conditions) not very complicated: Take an element (even a virtual), using both views parameters calculate how such element is displayed in the views (depending on rotation the size is different) and set parameters of the second view accordingly to this calculation.

    Some (pre)conditions exist

    • Only non-perspective view can be used.
    • The size is easy, the same position inside views as displayed in you example is completely different story, because insuch case you have to interact with window manage.
    • The view will be on the same monitor. To set the same element size on two different monitors (possibly different resolution, DPI etc.) is substantially more complex and not sure if even possible.

    I am not sure if VBA is enough, but as usually C/C++ APIs are much better to work with view parameters.

    Regards,

      Jan

Children