Skip to content

node select by boundary

Blossom Merz edited this page Oct 27, 2026 · 2 revisions

Home > Data > Select by Boundary

< Previous: Select by Area | Next: Select Every Nth >

Node Library

Select by Boundary (node)

Keep the items a closed loop encloses. Enclosed keeps only what is wholly inside; turn it off to keep what the loop touches as well.

Select by Boundary node diagram

Category: Data | Add menu: Data > Select by Boundary

Routes each item to Selected or Unselected by whether a closed loop encloses it. Wire the loop to Boundary and the things to test to Geometry. The loop has its own port, so it is never part of its own answer.

Enclosed is a switch on the node face and starts on, which is the strict reading: only what lies wholly inside is kept. Turn it off and anything the loop touches is kept too, so a shape straddling the edge comes out Selected rather than Unselected. Loosening the test is the deliberate move, not the default.

One scene drawn twice, Enclosed on at left and Enclosed off at right. In each panel a green irregular seven-corner closed loop is labeled Boundary, and sixteen items are tested against it: small squares, circles and boomerangs, each boomerang two bowed arms meeting at an elbow, plus five dots. Selected items are drawn in full color, orange for the shapes and blue for the dots; unselected ones are hollow and grey. Four shapes sit wholly inside, four wholly outside, and three sit on the loop. With Enclosed on the three on the loop are grey and the count reads Selected 7, Unselected 9. With Enclosed off those same three are orange and the count reads Selected 10, Unselected 6. The dots do not change between the panels.

Inputs

  • Geometry (any): the items to test.
  • Boundary (any): the closed loop, or loops, that do the enclosing.
  • Enclosed (boolean, switch on the node face: default on): on keeps only what is wholly inside; off also keeps what the loop touches.

Outputs

  • Selected (any): the items the boundary encloses.
  • Unselected (any): everything else.

Both outputs are live, so nothing is thrown away. Wire Unselected up as well to see what the loop is catching before you build on the answer.

What counts as one thing

Items, the same way Select by Area and Select Every Nth count them, so a region and its holes are tested and kept together rather than coming apart. An item resting exactly on the loop counts as inside.

What a boundary can be

A boundary does not have to be one ring. It can be several separate shapes, each tested on its own with the answers merged, so an item inside any one of them is selected. Two islands drawn apart from each other both select what they enclose.

Inside one shape the reading is even-odd: inside the outer ring and outside an inner one is in. A ring with a hole in it therefore behaves the way it looks, and something sitting in the hole is out.

When it refuses

A boundary it cannot use selects nothing: the whole input comes out on Unselected and the node raises the red attention badge. It does not pass the input through to Selected, which would read as a working test, and it does not close a gap for you, which would invent geometry you did not draw.

Hovering the badge gives the reason, one of three:

  • Nothing is wired to Boundary.
  • Boundary does not close: there is a gap between two ends.
  • Boundary closes but encloses nothing.

Related

< Previous: Select by Area | Next: Select Every Nth >

Locus Studio Docs

Home

Getting Started

Modeling - Drawing

Modeling - Editing

Annotation

Layers

Modeling Menus

The Nodes Window

Node Library

Clusters

Bridging Modeling & Nodes

Patterns & Symmetry

Image-Driven Fields

Saving, Exporting & Files

Preferences & Language

CLI

Reference

Clone this wiki locally