$N - variable in filenames not working in H16?

   2576   2   1
User Avatar
Member
3 posts
Joined: Feb. 2017
Offline
Hi,

I'm cashing out a sim with 2 substeps and framestep set to 0,5.

Now if, in my File Cache node, I set $F to $N, every frame is saved with nothing at the place of the frame (so name.compressed_cache..bgeo), effectively I only get one file because it gets overwritten each time.

$T works better, but it creates very fractional numbers (name.compressed_cache.6.0833333333333.bgeo) - plus, it doesn't work when reading the cache back.

Is $N not valid in H16? Or how do I get incremental filenumbers instead?
User Avatar
Staff
6413 posts
Joined: July 2005
Offline
$N does not work in the File Cache SOP, only in ROPs themselves. This is a limitation of local variabls (which $N is an example)

filename.`rint($FF*2)`.bgeo.sc

maybe used.
User Avatar
Member
63 posts
Joined: May 2006
Offline
Thanks (And sorry for the double post (the one by druitre, I was logged in under our office account instead of my own)

- Jasper/druitre
  • Quick Links