get_usd_attribute
Read a USD attribute value from a prim in Houdini. Get full values or slice large arrays with offset and limit for efficient access.
Instructions
Read a USD attribute value from a prim.
A long array (over 16 elements) answers with value as a summary (size,
element_type, head, min/max) plus slice: the elements from offset,
at most limit of them (default the first 64), with has_more. Walk a
big array by raising offset; pass full=True to get every element in
value at once.
Args:
node_path: LOP node path.
prim_path: USD prim path.
attr_name: Attribute name.
time: Time code (frame number).
full: Return the whole array as value.
offset: First element of the window for a long array.
limit: Window size for a long array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| time | No | ||
| limit | No | ||
| offset | No | ||
| attr_name | Yes | ||
| node_path | Yes | ||
| prim_path | Yes |