Jump to content

File Pading


Recommended Posts

If I do this on a string file:

"$HIP/temp/scene.$SF4.tif", I get "$HIP/temp/scene.0001.tif" and so on,

If I do this:

"$HIP/temp/scene.$SF.tif", I get "$HIP/temp/scene.1.tif" and so on,

And if I do this:

"$HIP/temp/scene.`$SF + 10`.tif", I get on the first frame "$HIP/temp/scene.10.tif" and so on,

But if I do this:

"$HIP/temp/scene.`$SF4 + 10`.tif" , I still get "$HIP/temp/scene.10.tif" with padding 1.

How can I make houdini interpret my pading as 4 digits like:

"$HIP/temp/scene.`$SF4 + 10`.tif" and get "$HIP/temp/scene.0010.tif"

Sorry for the examples that I gave, that was the only way that I found to illustrate my problem.

Can anyone help me with this?

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.

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...