USD payloads and adding to usd file

   711   1   0
User Avatar
Member
40 posts
Joined: Sept. 2014
Offline
Hi
I'm still trying to wrap my head around the USD workflow and struggling a bit.
We have a USDA file (called mainScene.usda) that would be empty and used to initialize the pipeline, or if we're rerunning and adding the current scene, it would have payloads in the scene and we'd like to add more to it. This is the part I'm struggling with.

I'm trying to load the USDA file into Houdini, save my network output as it's own layer and payload, and add it to mainScene.usda as a payload.


I've tried setting the mainScene.usda file path in the reference node and tried different reference types, but when I save the USD file it references itself.
So far I've only exported single USD file for assets but I've not tried to import a USDA file, edit and save over the file. I'm starting to get the impression any new edits would be a whole new USD file but I'm hoping to have mainScene.usda as the running master scene that imports all the payloads from all our layers.

Thanks
Edited by jm - June 6, 2024 07:16:28

Attachments:
Screenshot 2024-06-06 120955.png (78.9 KB)

User Avatar
Member
338 posts
Joined: Nov. 2013
Offline
Lops really doesn't want to write over an input file (mainScene.usda) as it would make it impossible to correctly cook the network a second time. If you're confident you definitely only want to ever run the network once however, have the rop write out to mainScene.temp.usda (or something similar) and then rename the file once you're sure you no longer need the prior version of mainScene.usda
  • Quick Links