How to get all sidecar USD files generated from USD ROP

   898   1   0
User Avatar
Member
19 posts
Joined: 12月 2015
Offline
When the USD ROP node's Save to Disk button is used, sometimes it generates sidecar USD files because there are configurelayer, sopimport, etc. nodes with their layer Save Path set.
Using Python, how can I get the paths where these would be saved?
I can't find anything in the documentation.
User Avatar
スタッフ
4438 posts
Joined: 7月 2005
Offline
The $SAVEDPATHS local variable can be used in the post-render script. It evaluates to a space-separated list of all the files written out during the USD save operation. This variable does not seem to be mentioned in the documentation for some reason. I will rectify that.
  • Quick Links