Get USD render path with frame variable $F4 using Python

   830   0   1
User Avatar
Member
109 posts
Joined: Aug. 2017
Offline
When we set render path in render settings like $HIP/Render/myanimation_$F4.exrit immediately gets expanded to an absolute path in the actual attribute.





So, in the future if we wanted to get that path with python, we would no longer have access to the $F4 variable.

Is there anything that can be done to get a path with a frame variable in any format? $F4, <F4>, ####, anything

Edit: I ended up programming a function that compares start and end frame paths and figures out where the padded frame is.
Edited by alexmajewski - Feb. 26, 2025 09:02:47

Attachments:
attributes.png (6.8 KB)
karmasettings.png (25.4 KB)

  • Quick Links