Search - User list
Full Version: Swapping payload in LOP without saving stage first
Root » Solaris and Karma » Swapping payload in LOP without saving stage first
tumurtogtokh
Hi,

I've got assets imported in lop with sop import nodes. They're imported as payloads that I'd like to swap their paths before exporting them. When they're imported, usd scene graph have them as something like "op:<path/to/houdin/scene/OUT.sop>:SDF_FORMAT_ARGS:<payload/attribute/and/values/pairs>"

Using usd rop on this case, it is exporting all files in sop imports to a directory next to the exported usd file. I'm trying to avoi d creating those extra files and dirs since I thought I could swap payloads with actual file references. So far, I have tried playing with usd rop and naive usd api commands and haven't managed to export the usd without any extra files.

Any advice on how to do it would be appreciated.
mtucker
The SOP Import LOP has a "Save Path" parameter that lets you control where the USD file generated from the SOP imported geometry should be saved.
pixelninja
You could try a switch pointing to a reference to the payload on disk. Then you can control the switch with a context option on the ROP.
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