Cool!
Yeah we worked around with python - In general I prefer vex though, thanks for the RFE
Found 23 posts.
Search results Show results as topic list.
Solaris and Karma » vex usd_childpath()
- marcosimonrbl
- 23 posts
- Offline
Solaris and Karma » vex usd_childpath()
- marcosimonrbl
- 23 posts
- Offline
Hi,
I noticed there's a usd_parentpath() function but no usd_childpath()/usd_childrenpaths() function. I'm guessing this has to do with the wrangle being multithreading safe, but how would I go about the following problem otherwise:
All children prims hold an attribute (like polygon count) and I want to sum those up and write the sum as an attribute on the parent primitive.
I noticed there's a usd_parentpath() function but no usd_childpath()/usd_childrenpaths() function. I'm guessing this has to do with the wrangle being multithreading safe, but how would I go about the following problem otherwise:
All children prims hold an attribute (like polygon count) and I want to sum those up and write the sum as an attribute on the parent primitive.
Solaris and Karma » Referenced primitives broken after saving an asset as usd
- marcosimonrbl
- 23 posts
- Offline
Hi
we're setting up an asset that has lights on it. We want to use variants for this so variant A should be no lights, variant b should be with lights. Further this asset has a lot of lights so we used the point instancer node (Method set to Reference) to create them.
This works all fine in the scene. However when we save the file (Savestyle set to Flatten All Layers)and then use a Reference to bring back the usd file the light References are broken - it works however with a sublayer. But the way our scenes are set up we need it to work with a reference.
What are we doing wrong?
Attached is a small test scene to show the problem.
we're setting up an asset that has lights on it. We want to use variants for this so variant A should be no lights, variant b should be with lights. Further this asset has a lot of lights so we used the point instancer node (Method set to Reference) to create them.
This works all fine in the scene. However when we save the file (Savestyle set to Flatten All Layers)and then use a Reference to bring back the usd file the light References are broken - it works however with a sublayer. But the way our scenes are set up we need it to work with a reference.
What are we doing wrong?
Attached is a small test scene to show the problem.
-
- Quick Links