LUMA
Node Reference

Selection Nodes

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

Selection Nodes

Selection nodes extract spatial attributes from fixture arrangements. Fixture selection itself is handled by the pattern's Selection argument -- a selection expression over group names that is set when the pattern is placed on a timeline. There is no dedicated "select" node; Apply nodes automatically receive the resolved fixture selection from the pattern argument.


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_indexInteger index around fitted circle (equal spacing)0, 1, 2, ...

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