Are you able to attach an example file? It seems to be working as expected for me in both cases. Both $HIP/geo/$HIPNAME.$OS.`padzero(4, @wedgeindex)`.$F4.bgeo.sc and $HIP/geo/$HIPNAME.$OS.`@wedgeindex:4`.$F4.bgeo.sc produce file paths 4 digits in the frame and wedge index component.
Actually, this might be a red herring. After restarting Houdini I get padded zeros with the Service.
However, it looks like I have to restart Houdini (or maybe just the Service) when I change expressions on (at minimum) ROP Geometry TOPs.
I'm getting a fairly persistent issue across the board where I change an expression like: c:/some/file/filename.`@someattrib`.bgeo.sc to c:/some/file/filename.`@somenewattrib`.bgeo.sc but when I delete the disk files, and dirty the node, and then recook, it still writes out the “someattrib” version, not the new name.
So the padzero may have been a symptom of this bug.
If I can reproduce I will, but I'm curious if the Service actually tries to hang on to the HIP file and not reload it and maybe it's missing a ‘dirty’ of the HIP file itself? I'm guessing wildly of course…
Cheers, Pete rB
Cheers,
Peter Bowmar ____________ Houdini 20.5.262 Win 10 Py 3.11