Write Attribute

Writes a per-row attribute column on the input table. The value-producing input is evaluated once per row, with the row's element index and the row itself (as a single-row table vararg) passed via context, so the upstream pipeline can return a different value per row that may be derived from the row's own data. If the column already exists, its values are replaced; if not, the column is created.

Interface

Inputs

ParameterDetailsPossible Types
Content

The table whose rows will gain or replace the named attribute column.

Primary Input

Table<Artboard>
Table<Color>
Table<GradientStops>
Table<Graphic>
Table<Raster>
Table<Vector>
Name

The attribute name (column key) to write or replace.

Default: ""

String
Value

The node that produces the per-row value. Called once per row with the row index in context.

Exposed to the Graph by Default

Option<NodeId>
String
Table<Color>
Table<GradientStops>
Transform
Vec2
Vec<String>
bool
f64
u32

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Table<Artboard>
Table<Graphic>
Table<Vector>
Table<Raster>
Table<Color>
Table<GradientStops>