Skip to main content

LayoutPreset

Other
  • Plane3Only: Only the Plane 3 (XY / axial) slice view is shown. - HorizontalSliceViewsOnly: The three slice views arranged in a horizontal row (no 3D view). - VerticalSliceViewsOnly: The three slice views arranged in a vertical column (no 3D view). - Plane3LeftPlane1Right: Plane 3 (axial) on the left, Plane 1 (sagittal) on the right. - Plane3LeftPlane2Right: Plane 3 (axial) on the left, Plane 2 (coronal) on the right. - Plane1Left3DRight: Plane 1 (sagittal) on the left, 3D view on the right. - Plane1Right3DLeft: Plane 1 (sagittal) on the right, 3D view on the left. - Plane2Left3DRight: Plane 2 (coronal) on the left, 3D view on the right. - Plane2Right3DLeft: Plane 2 (coronal) on the right, 3D view on the left. - Plane3Left3DRight: Plane 3 (axial) on the left, 3D view on the right. - Plane3Right3DLeft: Plane 3 (axial) on the right, 3D view on the left.

Import​

import ScriptingApi as api

# Access the class
# LayoutPreset is available via api.LayoutPreset

Enumeration Values​

Enumeration Preset from LayoutPreset

ValueDescription
LayoutPreset.ConventionalConventional option
LayoutPreset.ThreeDOnlyThreeDOnly option
LayoutPreset.FourUpRightFourUpRight option
LayoutPreset.FourDownRightFourDownRight option
LayoutPreset.FourUpLeftFourUpLeft option
LayoutPreset.FourDownLeftFourDownLeft option
LayoutPreset.SliceViewsRightSliceViewsRight option
LayoutPreset.SliceViewsLeftSliceViewsLeft option
LayoutPreset.Plane1OnlyPlane1Only option
LayoutPreset.Plane2OnlyPlane2Only option
LayoutPreset.Plane3OnlyPlane3Only option
LayoutPreset.HorizontalSliceViewsOnlyHorizontalSliceViewsOnly option
LayoutPreset.VerticalSliceViewsOnlyVerticalSliceViewsOnly option
LayoutPreset.Plane3LeftPlane1RightPlane3LeftPlane1Right option
LayoutPreset.Plane3LeftPlane2RightPlane3LeftPlane2Right option
LayoutPreset.Plane1Left3DRightPlane1Left3DRight option
LayoutPreset.Plane1Right3DLeftPlane1Right3DLeft option
LayoutPreset.Plane2Left3DRightPlane2Left3DRight option
LayoutPreset.Plane2Right3DLeftPlane2Right3DLeft option
LayoutPreset.Plane3Left3DRightPlane3Left3DRight option
LayoutPreset.Plane3Right3DLeftPlane3Right3DLeft option

Usage Example​

import ScriptingApi as api

# Access enumeration values
value = api.LayoutPreset.Conventional

See Also​