Get attribute

Extracts attribute (metadata) by name and data type.


Inputs

  • geometry

    • Accepts a single geometry connection (unless the SHIFT key is held).
  • type

    • Sets the type of attribute to add. This can be per point (added to each point of the input geometry), per primitive (added to each primitive of the input geometry), on node (added to the node), or on graph (added to the graph).
  • attribute name

    • The name to give the attribute.
  • value

    • The value to assign to the attribute. This can be any of the basic data types (number (number, integer, and boolean), vector (vector and color), and string).

Outputs

  • points

    • The list of points of the output primitives.
  • points.x

    • The list of x values of the points of the output primitives.
  • points.y

    • The list of y values of the points of the output primitives.
  • points.z

    • The list of z values of the points of the output primitives.

Notes

  • See Attribute for more information on attributes, and their function in the graph.

  • The value input is a special type of input that can accept any type of data.

  • Other names for this node include: GetAttribute, Attribute to list, and Read attribute.

Examples