tomhanks Posted September 4, 2009 Share Posted September 4, 2009 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? Quote Link to comment Share on other sites More sharing options...
wolf_cub_one Posted September 4, 2009 Share Posted September 4, 2009 Try using the padzero expression. Here is a post that explains it; HTH Quote Link to comment Share on other sites More sharing options...
sanostol Posted September 4, 2009 Share Posted September 4, 2009 (edited) use `padzero(4,$F+10)` instead of $F4 Edited September 4, 2009 by sanostol Quote Link to comment Share on other sites More sharing options...
tomhanks Posted September 5, 2009 Author Share Posted September 5, 2009 That´s it!!! Thank you very much!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.