LUMA
Node Reference

Selection Nodes

Nodes for targeting fixtures and extracting spatial attributes from fixture arrangements.

Selection Nodes

Selection nodes define which fixtures are targeted and extract spatial attributes from fixture arrangements.


Select

FieldValue
Type IDselect
CategorySelection
DescriptionResolves a tag expression into a set of fixtures with 3D positions.

Inputs

None.

Outputs

PortType
outSelection

Parameters

NameTypeDefaultDescription
tag_expressionstring"all"Boolean tag expression to match fixtures
spatial_referencestring"global""global" or "group_local"

Tag Expression Syntax

  • all -- matches every fixture
  • Simple tags: front, left, circular, blinder
  • Capability tokens: has_color, has_movement, has_strobe
  • Operators: & (AND), | (OR), ^ (XOR), ~ (NOT), > (fallback)
  • Parentheses for grouping: (left | right) & has_color
  • Examples: front, left & has_color, circular & ~blinder

Behavior

  • spatial_reference="global": All matched fixtures returned in a single Selection with global coordinates.
  • spatial_reference="group_local": Separate Selection per fixture group, with coordinates relative to each group's local frame.

Get Attribute

FieldValue
Type IDget_attribute
CategorySelection
DescriptionExtracts a spatial or ordering attribute from each fixture in a Selection as a scalar Signal.

Inputs

PortTypeRequired
selectionSelectionYes

Outputs

PortType
outSignal (N=total items, T=1, C=1)

Parameters

NameTypeDefaultDescription
attributestring--The attribute to extract (see table below)

Available Attributes

AttributeDescriptionRange
indexInteger order within the selection0, 1, 2, ...
normalized_indexOrder normalized to range0.0 - 1.0
pos_xAbsolute global X positionmeters
pos_yAbsolute global Y positionmeters
pos_zAbsolute global Z positionmeters
rel_xX position relative to selection bounding box0.0 - 1.0
rel_yY position relative to selection bounding box0.0 - 1.0
rel_zZ position relative to selection bounding box0.0 - 1.0
rel_major_spanPosition along axis with largest physical range0.0 - 1.0
rel_major_countPosition along axis with most distinct positions0.0 - 1.0
circle_radiusDistance from selection centermeters
angular_positionAngle on fitted circle (PCA + RANSAC)0.0 - 1.0
angular_indexIndex-based angular position (equal spacing)0.0 - 1.0

Behavior

  • For angular attributes, circle fitting is performed using PCA plane projection and RANSAC. This works for 3D arrangements, not just planar layouts.
  • rel_major_span and rel_major_count are useful when the fixture arrangement's primary axis is not known ahead of time.

Random Select Mask

FieldValue
Type IDrandom_select_mask
CategorySelection
DescriptionRandomly selects N items from a Selection based on a trigger signal. Changes selection when trigger value changes.

Inputs

PortTypeRequired
selectionSelectionYes
triggerSignalYes
countSignalNo (number of items to select)

Outputs

PortType
outSignal (N=items, T=trigger.T, C=1, values 0 or 1)

Parameters

NameTypeDefaultDescription
avoid_repeatint1If 1, avoids selecting the same items on consecutive triggers

Behavior

  • Selection is deterministic (hash-based seeding) for reproducibility across evaluations.
  • Trigger changes (e.g., beat pulses crossing a threshold) cause re-selection of which items are active.
  • Output is a binary mask: 1.0 for selected fixtures, 0.0 for unselected.

On this page