LayoutPreset
- 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
| Value | Description |
|---|---|
LayoutPreset.Conventional | Conventional option |
LayoutPreset.ThreeDOnly | ThreeDOnly option |
LayoutPreset.FourUpRight | FourUpRight option |
LayoutPreset.FourDownRight | FourDownRight option |
LayoutPreset.FourUpLeft | FourUpLeft option |
LayoutPreset.FourDownLeft | FourDownLeft option |
LayoutPreset.SliceViewsRight | SliceViewsRight option |
LayoutPreset.SliceViewsLeft | SliceViewsLeft option |
LayoutPreset.Plane1Only | Plane1Only option |
LayoutPreset.Plane2Only | Plane2Only option |
LayoutPreset.Plane3Only | Plane3Only option |
LayoutPreset.HorizontalSliceViewsOnly | HorizontalSliceViewsOnly option |
LayoutPreset.VerticalSliceViewsOnly | VerticalSliceViewsOnly option |
LayoutPreset.Plane3LeftPlane1Right | Plane3LeftPlane1Right option |
LayoutPreset.Plane3LeftPlane2Right | Plane3LeftPlane2Right option |
LayoutPreset.Plane1Left3DRight | Plane1Left3DRight option |
LayoutPreset.Plane1Right3DLeft | Plane1Right3DLeft option |
LayoutPreset.Plane2Left3DRight | Plane2Left3DRight option |
LayoutPreset.Plane2Right3DLeft | Plane2Right3DLeft option |
LayoutPreset.Plane3Left3DRight | Plane3Left3DRight option |
LayoutPreset.Plane3Right3DLeft | Plane3Right3DLeft option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.LayoutPreset.Conventional