Jump to content

Convert upstream ("$HIP/../") to proper path?


Krion

Recommended Posts

Hi guys,

How do I get a proper path when using the "/../" method?
When middleclicking on such a parameter expression as 

$HIP/../flips/img.jpg

it returns this

parent_of_hipfolder/hipfolder/../flips/img.jpg          (i.e go in, and then go up again)

which Houdini seems to be able to read properly. But I want the path like this:

parent_of_hipfolder/flips/img.jpg

which I could later on use properly with the python os module, to read the data of the file. It doesn't understand the up-one-folder syntax, "/../"

Thank you!

 

Edited by Krion
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...