get_attrib_values
Read a specific slice of one Houdini attribute as a flat, element-major array with pagination. Use it when you need indexed values from one attribute rather than a geometry sample.
Instructions
Read attribute values as a flat array with pagination.
For spot-checking a few values prefer sample_geometry — it returns a representative spread of points with all their attributes in one call. Use get_attrib_values when you need a specific slice of one attribute.
Values are element-major: for a float3 attribute every 3 consecutive values belong to one element. Check has_more and increment start to read subsequent pages.
Args: node_path: Node path. attrib_name: Attribute name. attrib_class: "point", "prim" (or "primitive"), "vertex", or "detail". start: First element index to return. count: Max elements per page (default 200).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_path": "<node_path>",
"attrib_name": "<attrib_name>"
},
"name": "get_attrib_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| start | No | ||
| node_path | Yes | ||
| attrib_name | Yes | ||
| attrib_class | No | point |