Batch export animation with dynamic name

   395   2   1
User Avatar
Member
4 posts
Joined: Sept. 2021
Offline
Hi !
I currently have an hda that take an input animation, retarget it and output it. The isssue is that i have 800 animations to process..
I made a tree that use the file pattern to get the work items out of my directory, hda process to process every work item and rop fetch to export every animation as fbx. The issue is it don't work. I found out that it is possible to use a pdg attribut (such as @filename that i got out of my filepattern) to drive the output file name but i can't get it to work and can't find that much of documentation on the topic.
In the meantime my hda processor don't work at all and I don't knwow why.

Another way of doing it could be to just use the hda processor and use an expression to dynamic input every file and do the same for the output but I don't know if it is possible at all.

Do someone would have a hint about what the process should be ?

Thank you
Image Not Found
Edited by timalpha - Aug. 27, 2025 10:19:54

Attachments:
my_hda.png (40.8 KB)
my_rop_fetch_sttings.png (39.1 KB)
rig_retarget_v02.hipnc (293.3 KB)

Timothée
User Avatar
Member
325 posts
Joined: Jan. 2013
Online
For this to work, wrap the filename attribute in backticks (e.g., `@filename`). If you also need to change the file extension, use `strreplace(@filename, '.fbx', '.newext')`.

https://www.sidefx.com/docs/houdini/tops/attributes.html#string-parameters [www.sidefx.com]
User Avatar
Member
4 posts
Joined: Sept. 2021
Offline
This ! Thank you the backsticks were the answer. Now it work just fine.
Timothée
  • Quick Links