Get USD render path with frame variable $F4 using Python

   845   0   1
User Avatar
Member
109 posts
Joined: 8月 2017
オフライン
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 - 2025年2月26日 09:02:47

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

  • Quick Links