Change selected layout in Layout View

BECOME PART OF THE COMMUNITY - Sign up here
  • possible but not trivial...

    Set ScreenContent x.y."LayoutViewSettings" Property "Layout" "a.Layouts.b"

    x = screen number

    y = window number

    (window number depends on the creation order of each window and may change if you add or delete windows)

    a = datapool name/number

    b = layout name/number

    e.g.

    Set ScreenContent 1.5."LayoutViewSettings" Property "Layout" "Default.Layouts.4"

    Edited once, last by Andreas (July 26, 2022 at 10:34 PM).

  • When I run List ScreenConfig the result are only three items: 1 for Default, 2 for 3D and 3 for remote.

    Are you sure that x is the screen number? I have created the view with 4 layout views only on display 4 (E4) (ViewButton 7, View 19)

    The following command works but the change is only visible when manually changing/refreshing the view so not very helpful.

    Set View 19.9."LayoutViewSettings" Property "Layout" "1.Layouts.8" 

    Do we need to use ScreenConfig immediately apply the change and refresh the display?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!