At the moment I am creating the views with the following script
views = []
views.append(GetActiveViewOrCreate("RenderView"))
views.append(CreateRenderView())
SetActiveView(views[0])
views.append(CreateRenderView())
SetActiveView(views[1])
views.append(CreateRenderView())
Is this the right approach? I does not look clean. Is it possible to create views and then assign them to a specific layout? I tried with Layout.AssignView
, but I am struggling with the locationId
.
I then assign various views properties
for view in views:
view.AxesGrid = 'GridAxes3DActor'
view.OrientationAxesVisibility = 0
view.StereoType = 0
view.Background = [0.980392156862745, 0.980392156862745, 0.980392156862745]
this works, but I would like to create multiple layouts for when I have more than 4 variables to show.
Thanks