Nodes ▸ Functions ▸ Structural

Nearest Element

Returns the dataset entry closest to a position, which can be picked in the viewport: the nearest point with its values, or the dataset pinned at it along chosen axes.

Nearest Elementx

Inputs

PortAcceptsRequiredDescription
x dataset required The dataset to search

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
position
Position
primitive(array) dataset(stack) dataset(surface) opt-in position position; overrides the position parameter while connected

Outputs

dataset(stack)dataset(grid)

Parameters

The Parameters pane shows only the parameters relevant to the current settings.

ParameterKindDefaultChoices / rangeUnitNotes
Output
output
choice point point | slice
Pin
pin
multichoice none r | theta | phi | line | vertex
Position
position
vector none

Used by

Browse all templates using Nearest Element