Jump to content

Get File directory from Input and use in output


Recommended Posts

Hi there!

I'm trying to make a little ACES image converter HDA and I'm a bit stuck right now.
I have a File node in my Cop2 network. This then passes through a vopcop to convert the image.
Afterwards I added a rop File output to output the file. Now here is the part where I'm Stuck:
I want the File Output to be the same as the file input, with _aces added to the filename, and the file extension taken from the parameters in my hda.

For Example:
Input in the File Node: D:/Desktop/filename.png
File Extension in HDA Parameters set by the user: .exr
Output in the ROP Node: D:/Desktop/filename_aces.exr

Is this possible? I added a hip file with the current state of the HDA. Thanks!

aces_converter.hiplc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...