SnapshotType
individual 2D slice views. Available values: - Application: The entire application window. - Scene: The 3D scene only. - View3D: The 3D view using its current camera orientation. - View3D_NegativeX: The 3D view looking along the negative X axis. - View3D_PositiveX: The 3D view looking along the positive X axis. - View3D_NegativeY: The 3D view looking along the negative Y axis. - View3D_PositiveY: The 3D view looking along the positive Y axis. - View3D_NegativeZ: The 3D view looking along the negative Z axis. - View3D_PositiveZ: The 3D view looking along the positive Z axis. - View3D_Isometric: The 3D view from an isometric viewing angle. - Slice_LeftRight: The left-right (sagittal) 2D slice view. - Slice_FrontBack: The front-back (coronal) 2D slice view. - Slice_TopBottom: The top-bottom (axial) 2D slice view.
Import
import ScriptingApi as api
# Access the class
# SnapshotType is available via api.SnapshotType
Enumeration Values
Enumeration Type from SnapshotType
| Value | Description |
|---|---|
SnapshotType.Application | Application option |
SnapshotType.Scene | Scene option |
SnapshotType.View3D | View3D option |
SnapshotType.View3D_NegativeX | View3D_NegativeX option |
SnapshotType.View3D_PositiveX | View3D_PositiveX option |
SnapshotType.View3D_NegativeY | View3D_NegativeY option |
SnapshotType.View3D_PositiveY | View3D_PositiveY option |
SnapshotType.View3D_NegativeZ | View3D_NegativeZ option |
SnapshotType.View3D_PositiveZ | View3D_PositiveZ option |
SnapshotType.View3D_Isometric | View3D_Isometric option |
SnapshotType.Slice_LeftRight | Slice_LeftRight option |
SnapshotType.Slice_FrontBack | Slice_FrontBack option |
SnapshotType.Slice_TopBottom | Slice_TopBottom option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.SnapshotType.Application