About Me

Not Specified
Not Specified


Recent Forum Posts

VEX: How do I append a list of attribute into an array prim attribute Dec. 11, 2017, 11:17 a.m.

since the array will be the same, there is no need to store it on each primitive
so I suggest running this in Detail mode
however if you want you can over Primitives
int n = nuniqueval(0, "primitive", "instance");
for (int i=0; i<n; i++){
    int inst = uniqueval(0, "primitive", "instance", i);
    append(i[]@instarray, inst);

Delete by name and attribute. Dec. 10, 2017, 12:08 p.m.

the group syntax is described here:
http://sidefx.com/docs/houdini/model/groups.html#manual [sidefx.com]
so to do what you want you simply do

@name=base_name_* ^!@att=1

which would work in the group fields of the nodes
unless of course you are talking about Group Expression node which uses VEX then it would be:
match("base_name_*", s@name) && @att==1

Node name and default shape Python? Dec. 9, 2017, 7:07 p.m.

yes, that's the behavior
the purple simply means that the parameter language is not the one that's currently set, it's a bit confusing, but the color is not per language
Hscript is probably not going away in any near future, it's still very heavily used even by sidefx and it often evaluates faster than Python

Ryu Ku
Please let me be more annoying if I am and one more question - how to write expressions on the grey background here in messages as you do?
just use [code] and [/code] tags, or simply press </* button from the bar to create them around your text, you can pick language there for syntax highlighting