Skip to content

project.object

Create and edit versioned project objects and their components.

7 functions / 42 types

Modules

Index

FunctionDescription
despawnDespawn a project object and all its descendants.
from_sceneFinds the project node associated with a scene node.
get_childrenGet the children of a given ProjectNodeSchema
get_parentGet the parent of a given scene object if it exists
set_parentSet the parent of a given ProjectNodeSchema
spawnSpawn a new blank project object
to_sceneFinds the current scene node associated with a project node.
TypeDescription
ProjectArrowA 3D Arrow.
ProjectAttributeBasedAppearanceColours a model by one of its attributes, through a named colour ramp.
ProjectAttributeRangeNumeric range an attribute-driven color ramp is stretched across.
ProjectBlockModelA point cloud representation.
ProjectBlockModelAppearanceHow a point cloud is drawn.
ProjectBlockModelAttributeRampPoint cloud colored by a named attribute through a color ramp.
ProjectBlockModelColorPoint cloud drawn in one flat color.
ProjectBlockModelGradientPoint cloud colored by a ramp along a world-space axis.
ProjectBlockModelMatCapPoint cloud shaded with a named matcap texture.
ProjectCapsuleA 3D Capsule.
ProjectCubeA 3D Cube.
ProjectGeometryProjectGeometry
ProjectGradientExtentsKindWhether a gradient spans the object or the whole scene.
ProjectLineDashProjectLineDash
ProjectLineJoinProjectLineJoin
ProjectLineRoundProjectLineRound
ProjectLineStyleProjectLineStyle
ProjectMeshA point cloud representation.
ProjectMeshAppearanceHow a point cloud is drawn.
ProjectMeshAttributeRampPoint cloud colored by a named attribute through a color ramp.
ProjectMeshColorPoint cloud drawn in one flat color.
ProjectMeshGradientPoint cloud colored by a ramp along a world-space axis.
ProjectMeshMatCapPoint cloud shaded with a named matcap texture.
ProjectNameA name for a ProjectNode.
ProjectNoFilterFilter that draws every element.
ProjectNodeThe ID of a ProjectNode.
ProjectPointCloudA point cloud representation.
ProjectPointCloudAppearanceHow a point cloud is drawn.
ProjectPointCloudAttributeRampPoint cloud colored by a named attribute through a color ramp.
ProjectPointCloudColorPoint cloud drawn in one flat color.
ProjectPointCloudGradientPoint cloud colored by a ramp along a world-space axis.
ProjectPointCloudMatCapPoint cloud shaded with a named matcap texture.
ProjectPolylineProjectPolyline
ProjectPolylineAppearanceProjectPolylineAppearance
ProjectShapeProjectShape
ProjectShapeAppearanceHow a shape is drawn.
ProjectSphereA 3D Sphere.
ProjectTransformWhere an object sits, how it is turned, and its scale. All parts are double precision.
ProjectValueRangeFilterFilter keeping elements whose attribute falls inside [min, max].
ProjectVisibilityWhether an object is drawn.
ProjectVisibilityKindWhether an object is drawn, hidden, or follows its parent.
ProjectVolumetricFilterWhich elements of a model are drawn.

despawn

def despawn(
    *,
    node: types.project.object.ProjectNode,
    _transaction_id: str | None = None
) -> None

Despawn a project object and all its descendants.

Returns None.

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

from_scene

def from_scene(
    *,
    node: types.scene.Node,
    _transaction_id: str | None = None
) -> types.project.object.ProjectNode | None

Finds the project node associated with a scene node.

Returns ProjectNode | None.

node : Node

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

get_children

def get_children(
    *,
    node: types.project.object.ProjectNode,
    _transaction_id: str | None = None
) -> tuple[types.project.object.ProjectNode, ...]

Get the children of a given ProjectNodeSchema

Returns tuple[ProjectNode, ...].

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

get_parent

def get_parent(
    *,
    node: types.project.object.ProjectNode,
    _transaction_id: str | None = None
) -> types.project.object.ProjectNode | None

Get the parent of a given scene object if it exists

Returns ProjectNode | None.

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

set_parent

def set_parent(
    *,
    node: types.project.object.ProjectNode,
    parent: types.project.object.ProjectNode | None = None,
    _transaction_id: str | None = None
) -> None

Set the parent of a given ProjectNodeSchema

Returns None.

parent optional : ProjectNode | None

Defaults to None.

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

spawn

def spawn(
    *,
    _transaction_id: str | None = None
) -> types.project.object.ProjectNode

Spawn a new blank project object

Returns ProjectNode.

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

to_scene

def to_scene(
    *,
    node: types.project.object.ProjectNode,
    _transaction_id: str | None = None
) -> types.scene.Node | None

Finds the current scene node associated with a project node.

Returns Node | None.

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

ProjectArrow

ProjectArrow(*, length: float)

A 3D Arrow.

length : float

Length of the arrow

ProjectAttributeBasedAppearance

ProjectAttributeBasedAppearance(
    *,
    attribute: str,
    range: types.project.object.ProjectAttributeRange | None = None,
    ramp: str | None = None
)

Colours a model by one of its attributes, through a named colour ramp.

attribute : str

Name of the attribute driving the color.

range optional : ProjectAttributeRange | None

Range the ramp is stretched across. When absent, the attribute’s own range is used. Defaults to None.

ramp optional : str | None

Name of the color ramp. When absent, the viewer’s default is used. Defaults to None.

ProjectAttributeRange

ProjectAttributeRange(*, min: float, max: float)

Numeric range an attribute-driven color ramp is stretched across.

min : float

Value mapped to the start of the ramp.

max : float

Value mapped to the end of the ramp.

ProjectBlockModel

ProjectBlockModel(
    *,
    data: types.RemoteHandle,
    appearance: types.project.object.ProjectBlockModelAppearance | None = None
)

A point cloud representation.

data : RemoteHandle

Handle of the stored model, as a hyphenated UUID.

appearance optional : ProjectBlockModelAppearance | None

How the point cloud is drawn. Defaults to None.

ProjectBlockModelAppearance

ProjectBlockModelAppearance()

How a point cloud is drawn.

Construct one of the nested classes. Use isinstance to check its type.

ProjectBlockModelAppearance.MatCap

ProjectBlockModelAppearance.MatCap(value: types.project.object.ProjectBlockModelMatCap)

Shaded with a named matcap texture.

ProjectBlockModelAppearance.Color

ProjectBlockModelAppearance.Color(value: types.project.object.ProjectBlockModelColor)

Drawn in one flat color.

ProjectBlockModelAppearance.AttributeRamp

ProjectBlockModelAppearance.AttributeRamp(value: types.project.object.ProjectBlockModelAttributeRamp)

Colored by a named attribute through a color ramp.

ProjectBlockModelAppearance.Gradient

ProjectBlockModelAppearance.Gradient(value: types.project.object.ProjectBlockModelGradient)

Colored by a ramp along a world-space axis.

ProjectBlockModelAttributeRamp

ProjectBlockModelAttributeRamp(
    *,
    outline: bool,
    appearance: types.project.object.ProjectAttributeBasedAppearance | None = None,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud colored by a named attribute through a color ramp.

outline : bool

Whether block edges are outlined.

appearance optional : ProjectAttributeBasedAppearance | None

Which attribute drives the color and over what range. Defaults to None.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectBlockModelColor

ProjectBlockModelColor(
    *,
    outline: bool,
    rgb: types.color.ColorRgb,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud drawn in one flat color.

outline : bool

Whether block edges are outlined.

rgb : ColorRgb

The flat color. Transparency is opacity, not an alpha channel here.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectBlockModelGradient

ProjectBlockModelGradient(
    *,
    outline: bool,
    axis: types.math.Vec3,
    ramp: str,
    extents: types.project.object.ProjectGradientExtentsKind,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud colored by a ramp along a world-space axis.

outline : bool

Whether block edges are outlined.

axis : Vec3

Direction the ramp runs along.

ramp : str

Name of the color ramp.

extents : ProjectGradientExtentsKind

Which bounds the ramp is stretched across.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectBlockModelMatCap

ProjectBlockModelMatCap(
    *,
    outline: bool,
    name: str,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud shaded with a named matcap texture.

outline : bool

Whether block edges are outlined.

name : str

Name of the matcap texture.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectCapsule

ProjectCapsule(*, radius: float, length: float)

A 3D Capsule.

radius : float

The radius of the Semi-Sphere.

length : float

The length of the capsule, minus the caps.

ProjectCube

ProjectCube(*, half_extents: float)

A 3D Cube.

half_extents : float

The half-extents of the Cube.

ProjectGeometry

ProjectGeometry()

ProjectGeometry

Construct one of the nested classes. Use isinstance to check its type.

ProjectGeometry.Sphere

ProjectGeometry.Sphere(value: types.project.object.ProjectSphere)

A 3D Sphere.

ProjectGeometry.Cube

ProjectGeometry.Cube(value: types.project.object.ProjectCube)

A 3D Cube.

value : ProjectCube

ProjectGeometry.Arrow

ProjectGeometry.Arrow(value: types.project.object.ProjectArrow)

A 3D Arrow.

value : ProjectArrow

ProjectGeometry.Capsule

ProjectGeometry.Capsule(value: types.project.object.ProjectCapsule)

A 3D Capsule.

ProjectGradientExtentsKind

Enum

class ProjectGradientExtentsKind(IntEnum)

Whether a gradient spans the object or the whole scene.

Values: LOCAL = 0 Stretch the ramp across the node’s own extents. GLOBAL = 1 Stretch the ramp across the whole scene’s extents.

LOCAL = 0

Stretch the ramp across the node’s own extents.

GLOBAL = 1

Stretch the ramp across the whole scene’s extents.

ProjectLineDash

ProjectLineDash(*, gap_scale: float, line_scale: float)

ProjectLineDash

gap_scale : float

Gap length in multiples of the line width.

line_scale : float

Dash length in multiples of the line width.

ProjectLineJoin

ProjectLineJoin()

ProjectLineJoin

Construct one of the nested classes. Use isinstance to check its type.

ProjectLineJoin.None_

ProjectLineJoin.None_()

ProjectLineJoin.None_

ProjectLineJoin.Miter

ProjectLineJoin.Miter()

ProjectLineJoin.Miter

ProjectLineJoin.Bevel

ProjectLineJoin.Bevel()

ProjectLineJoin.Bevel

ProjectLineJoin.Round

ProjectLineJoin.Round(value: types.project.object.ProjectLineRound)

ProjectLineJoin.Round

ProjectLineRound

ProjectLineRound(*, resolution: int)

ProjectLineRound

resolution : int

ProjectLineStyle

ProjectLineStyle()

ProjectLineStyle

Construct one of the nested classes. Use isinstance to check its type.

ProjectLineStyle.Solid

ProjectLineStyle.Solid()

ProjectLineStyle.Solid

ProjectLineStyle.Dotted

ProjectLineStyle.Dotted()

ProjectLineStyle.Dotted

ProjectLineStyle.Dashed

ProjectLineStyle.Dashed(value: types.project.object.ProjectLineDash)

ProjectLineStyle.Dashed

ProjectMesh

ProjectMesh(
    *,
    data: types.RemoteHandle,
    appearance: types.project.object.ProjectMeshAppearance | None = None
)

A point cloud representation.

data : RemoteHandle

Handle of the stored model, as a hyphenated UUID.

appearance optional : ProjectMeshAppearance | None

How the point cloud is drawn. Defaults to None.

ProjectMeshAppearance

ProjectMeshAppearance()

How a point cloud is drawn.

Construct one of the nested classes. Use isinstance to check its type.

ProjectMeshAppearance.MatCap

ProjectMeshAppearance.MatCap(value: types.project.object.ProjectMeshMatCap)

Shaded with a named matcap texture.

ProjectMeshAppearance.Color

ProjectMeshAppearance.Color(value: types.project.object.ProjectMeshColor)

Drawn in one flat color.

ProjectMeshAppearance.AttributeRamp

ProjectMeshAppearance.AttributeRamp(value: types.project.object.ProjectMeshAttributeRamp)

Colored by a named attribute through a color ramp.

ProjectMeshAppearance.Gradient

ProjectMeshAppearance.Gradient(value: types.project.object.ProjectMeshGradient)

Colored by a ramp along a world-space axis.

ProjectMeshAttributeRamp

ProjectMeshAttributeRamp(
    *,
    appearance: types.project.object.ProjectAttributeBasedAppearance | None = None,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud colored by a named attribute through a color ramp.

appearance optional : ProjectAttributeBasedAppearance | None

Which attribute drives the color and over what range. Defaults to None.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectMeshColor

ProjectMeshColor(
    *,
    rgb: types.color.ColorRgb,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud drawn in one flat color.

rgb : ColorRgb

The flat color. Transparency is opacity, not an alpha channel here.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectMeshGradient

ProjectMeshGradient(
    *,
    axis: types.math.Vec3,
    ramp: str,
    extents: types.project.object.ProjectGradientExtentsKind,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud colored by a ramp along a world-space axis.

axis : Vec3

Direction the ramp runs along.

ramp : str

Name of the color ramp.

extents : ProjectGradientExtentsKind

Which bounds the ramp is stretched across.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectMeshMatCap

ProjectMeshMatCap(
    *,
    name: str,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud shaded with a named matcap texture.

name : str

Name of the matcap texture.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectName

ProjectName(*, name: str)

A name for a ProjectNode.

name : str

The human-readable node name.

ProjectNoFilter

ProjectNoFilter()

Filter that draws every element.

ProjectNode

ProjectNode(*, uuid: str)

The ID of a ProjectNode.

uuid : str

The identifier as a hyphenated UUID string.

ProjectPointCloud

ProjectPointCloud(
    *,
    data: types.RemoteHandle,
    appearance: types.project.object.ProjectPointCloudAppearance | None = None
)

A point cloud representation.

data : RemoteHandle

Handle of the stored model, as a hyphenated UUID.

appearance optional : ProjectPointCloudAppearance | None

How the point cloud is drawn. Defaults to None.

ProjectPointCloudAppearance

ProjectPointCloudAppearance()

How a point cloud is drawn.

Construct one of the nested classes. Use isinstance to check its type.

ProjectPointCloudAppearance.MatCap

ProjectPointCloudAppearance.MatCap(value: types.project.object.ProjectPointCloudMatCap)

Shaded with a named matcap texture.

ProjectPointCloudAppearance.Color

ProjectPointCloudAppearance.Color(value: types.project.object.ProjectPointCloudColor)

Drawn in one flat color.

ProjectPointCloudAppearance.AttributeRamp

ProjectPointCloudAppearance.AttributeRamp(value: types.project.object.ProjectPointCloudAttributeRamp)

Colored by a named attribute through a color ramp.

ProjectPointCloudAppearance.Gradient

ProjectPointCloudAppearance.Gradient(value: types.project.object.ProjectPointCloudGradient)

Colored by a ramp along a world-space axis.

ProjectPointCloudAttributeRamp

ProjectPointCloudAttributeRamp(
    *,
    point_size: float,
    appearance: types.project.object.ProjectAttributeBasedAppearance | None = None,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud colored by a named attribute through a color ramp.

point_size : float

Diameter of a drawn point in world units.

appearance optional : ProjectAttributeBasedAppearance | None

Which attribute drives the color and over what range. Defaults to None.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectPointCloudColor

ProjectPointCloudColor(
    *,
    point_size: float,
    rgb: types.color.ColorRgb,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud drawn in one flat color.

point_size : float

Diameter of a drawn point in world units.

rgb : ColorRgb

The flat color. Transparency is opacity, not an alpha channel here.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectPointCloudGradient

ProjectPointCloudGradient(
    *,
    point_size: float,
    axis: types.math.Vec3,
    ramp: str,
    extents: types.project.object.ProjectGradientExtentsKind,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud colored by a ramp along a world-space axis.

point_size : float

Diameter of a drawn point in world units.

axis : Vec3

Direction the ramp runs along.

ramp : str

Name of the color ramp.

extents : ProjectGradientExtentsKind

Which bounds the ramp is stretched across.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectPointCloudMatCap

ProjectPointCloudMatCap(
    *,
    point_size: float,
    name: str,
    filter: types.project.object.ProjectVolumetricFilter | None = None,
    opacity: float | None = None
)

Point cloud shaded with a named matcap texture.

point_size : float

Diameter of a drawn point in world units.

name : str

Name of the matcap texture.

filter optional : ProjectVolumetricFilter | None

Which points are drawn. Defaults to None.

opacity optional : float | None

Alpha applied to the whole cloud, 1.0 being fully opaque. When absent, it reads as fully opaque. Defaults to None.

ProjectPolyline

ProjectPolyline(
    *,
    vertices: tuple[types.math.Vec3, ...] = (),
    appearance: types.project.object.ProjectPolylineAppearance | None = None
)

ProjectPolyline

vertices optional : tuple[Vec3, ...]

Defaults to ().

appearance optional : ProjectPolylineAppearance | None

Defaults to None.

ProjectPolylineAppearance

ProjectPolylineAppearance(
    *,
    color: types.color.ColorRgba | None = None,
    line_width: float | None = None,
    line_style: types.project.object.ProjectLineStyle | None = None,
    line_join: types.project.object.ProjectLineJoin | None = None,
    line_perspective: bool | None = None,
    depth_bias: float | None = None,
    fill_color: types.color.ColorRgba | None = None
)

ProjectPolylineAppearance

color optional : ColorRgba | None

Defaults to None.

line_width optional : float | None

Stroke width in pixels when perspective is disabled. It must be positive; the default is 4. Defaults to None.

line_style optional : ProjectLineStyle | None

Defaults to None.

line_join optional : ProjectLineJoin | None

Defaults to None.

line_perspective optional : bool | None

Whether stroke width decreases with distance. The default is false. Defaults to None.

depth_bias optional : float | None

Depth offset between -1 and 1. Negative values move lines toward the camera. Defaults to None.

fill_color optional : ColorRgba | None

Fill color for a closed planar polyline. Absent means no fill. Defaults to None.

ProjectShape

ProjectShape(
    *,
    geometry: types.project.object.ProjectGeometry,
    appearance: types.project.object.ProjectShapeAppearance
)

ProjectShape

geometry : ProjectGeometry

The shape geometry

appearance : ProjectShapeAppearance

The appearance of the shape

ProjectShapeAppearance

ProjectShapeAppearance(
    *,
    color: types.color.ColorRgba | None = None,
    wireframe: bool,
    line_width: float | None = None,
    line_style: types.project.object.ProjectLineStyle | None = None,
    line_join: types.project.object.ProjectLineJoin | None = None,
    line_perspective: bool | None = None,
    depth_bias: float | None = None
)

How a shape is drawn.

color optional : ColorRgba | None

The color of the shape. Defaults to None.

wireframe : bool

Whether the engine draws the shape as a solid mesh or as a wireframe.

line_width optional : float | None

Wireframe width in pixels when perspective is disabled. It must be positive; the default is 2. Defaults to None.

line_style optional : ProjectLineStyle | None

Defaults to None.

line_join optional : ProjectLineJoin | None

Defaults to None.

line_perspective optional : bool | None

Whether wireframe width decreases with distance. The default is false. Defaults to None.

depth_bias optional : float | None

Depth offset between -1 and 1. Negative values move lines toward the camera. Defaults to None.

ProjectSphere

ProjectSphere(*, radius: float)

A 3D Sphere.

radius : float

The radius of the Sphere.

ProjectTransform

ProjectTransform(
    *,
    translation: types.math.Vec3,
    rotation: types.math.Quat,
    scale: types.math.Vec3
)

Where an object sits, how it is turned, and its scale. All parts are double precision.

translation : Vec3

Position in the parent nodes object space, or world-space if a root node.

rotation : Quat

Rotation as an [x, y, z, w] quaternion. All four zero reads as the identity rotation.

scale : Vec3

World-space scale.

ProjectValueRangeFilter

ProjectValueRangeFilter(*, attribute: str, min: float, max: float)

Filter keeping elements whose attribute falls inside [min, max].

attribute : str

Name of the attribute being tested.

min : float

Inclusive lower bound.

max : float

Inclusive upper bound.

ProjectVisibility

ProjectVisibility(*, kind: types.project.object.ProjectVisibilityKind)

Whether an object is drawn.

kind : ProjectVisibilityKind

The VisibilityKind as an i32 kind.

ProjectVisibilityKind

Enum

class ProjectVisibilityKind(IntEnum)

Whether an object is drawn, hidden, or follows its parent.

Values: INHERITED = 0 Inherit visibility from the parent node. VISIBLE = 1 Force the node visible. HIDDEN = 2 Force the node hidden.

INHERITED = 0

Inherit visibility from the parent node.

VISIBLE = 1

Force the node visible.

HIDDEN = 2

Force the node hidden.

ProjectVolumetricFilter

ProjectVolumetricFilter()

Which elements of a model are drawn.

Construct one of the nested classes. Use isinstance to check its type.

ProjectVolumetricFilter.None_

ProjectVolumetricFilter.None_(value: types.project.object.ProjectNoFilter)

Every element is drawn.

ProjectVolumetricFilter.ValueRange

ProjectVolumetricFilter.ValueRange(value: types.project.object.ProjectValueRangeFilter)

Only elements whose attribute falls inside a numeric range are drawn.