Showing posts with label clamp. Show all posts
Showing posts with label clamp. Show all posts

Thursday, 27 October 2022

number padding and clamping file sequences

padding file names and clamping at the same time -


  `padzero(7,clamp($F4,1091,1256))`

 Think I've shown this snippet before, but maybe not combo'd with the clamp. Remember to use the back ticks to evaluate the expression when using it in a file name...And use all relevant brackets

Thursday, 19 November 2020

clamp frame ranges for backplates

 S:/PROJECTS/BLABLABLA13893/3D/Plates/D001_C006_20201113_R1/D001_C006_20201113_R1.`clamp($F,1001,1325)`.jpg

`clamp($F,1001,1325)`

 

that's the important bit. the ` ` makes houdini evaluate