Import Attribute
VEX node
Imports attribute data from the OP connected to the given input.
See also: Add Attribute, Primitive Attribute
This operator imports attribute data from the OP connected to the given input. It return 1 if successful and 0 if unsuccessful. Possible reasons for failure are:
-
No input is connected to the specified index.
-
The attribute does not exist on the input geometry.
-
The attribute size/type doesn’t match the VEX type.
-
The input geometry has fewer points than the VEX OP’s geometry.
-
The point number given is larger than the number of points in the input.
Specifying the point number is optional.
When using Import Attributes inside POPs, care is required. If one reads from an attribute that is being written to, undefined results can occur. In this case, one should turn on Cache Incoming Geometry at the POP level.
Usages in other examples
| Example name | Example for | |
|---|---|---|
| PopFlow |
Particle Fluid Object dynamics node |
|
| PopFlow |
Particle Fluid Solver dynamics node |