検索 - User list
Full Version: Import string primvars into SOPs
Root » Solaris and Karma » Import string primvars into SOPs
jparker
Hopefully I'm missing something simple.

I'd like to create a bunch of points in a SOP network, tag them with string attributes and then import them into LOPs as transforms. I'd then like to use that string data later in a SOP Modify node to drive updated transforms. In my test I'm able to create the attributes that then come into USD as primvars, but when the USD is brought into a SOP network, the string attributes exist but are empty. Any float attributes seem to import correctly though.

Any idea why the string attrs don't work? See attached HIP.

Cheers,

Jon
jparker
I still haven't figured out why the LOP import doesn't work, but can access the primvar value with a VEX workaround afterwards in a primitivewrangle:

string stage = "op:/stage/sopcreate1";
string test[] = usd_primvar(stage, s@path, "test");
string string_val = test[0];
jparker
This was filed as a bug today (#109108) so I will assume that's what is going on!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB