I want to create a collection for that includes primitives given the value of an attribute they have.
Image Not Found
Any help is appreciated !
Thanks
v[]@primvars:displayColor[0].r > 0.5;
vector(usd_primvarelement(0, s@primpath, "displayColor", 0)).r > 0.5
npetit
tryvector(usd_primvarelement(0, s@primpath, "displayColor", 0)).r > 0.5
jsmack
That sounds equivalent though.
jason_iversenjsmack
That sounds equivalent though.
I haven't looked into it but I think your would requires that primvar is, or assume all primvars are, bound to a VEX variable. Using the query function as per Nick's example doesn't have that requirement.
jsmackThis should be fixed in tomorrow's H18.0.446.
I attempted to doand it hanged so bad I did't even get a core file when I killed it.v[]@primvars:displayColor[0].r > 0.5;