Go Procedural:Houdini VEX Attribute Wrangle

To use vex in houdini, enter geometry network, right click or hit tab key , then search and select Attribute Wrangle.

Run Over types

Each type except Detail(only once) automatically supports threading and parallel computation.

Type Desc Binding Attributes
Detail The code will run only once. Detail Attributes
Primitives The code will run on each Primitive. @primnum, @numprim
Points The code will run on each Primitive. @ptnum, @numpt
Vertices The code will run on each Primitive. @vtxnum, @numvtx
Numbers The code will run specified times. @elemnum,@numelem, Readonly Detail Attributes

CRUD Attributes

Create

int addattrib(int geohandle, string attribclass, string name, <type>defvalue)

adddetailattrib
addprimattrib
addpointattrib
addvertexattrib

Retrive

Update

Delete

Groups