chaindriver Posted June 3, 2012 Share Posted June 3, 2012 Hi, I have a sim that I need to run from $RFSTART to $RFEND but I only want to cache the last frame out to disk. I'm using a Geometry ROP but there's no "on/off" switch for me to determine which frames it should write to disk via expression. Does anyone know how I should go about doing this? Quote Link to comment Share on other sites More sharing options...
Tom Posted June 3, 2012 Share Posted June 3, 2012 (edited) You can use File DOP/SOP node. In activation parameter just use expression like this: if($FF==24, 1, 0) 24 is the frame you want to cache, in your case, last frame number and set Operation Mode to Write Files. Edited June 3, 2012 by Tom Quote Link to comment Share on other sites More sharing options...
chaindriver Posted June 3, 2012 Author Share Posted June 3, 2012 You can use File DOP/SOP node. In activation parameter just use expression like this: if($FF==24, 1, 0) 24 is the frame you want to cache, in your case, last frame number and set Operation Mode to Write Files. Hi Tom, thanks for the reply. Forgot to mention that I'm doing the sim in SOP (via Feedback SOP or the new H12 Solver SOP). The activation parameter seems to be available only for the File DOP, but not the File SOP... Quote Link to comment Share on other sites More sharing options...
Tom Posted June 3, 2012 Share Posted June 3, 2012 (edited) You can use Switch SOP before File sop and use same expression in Select Input parameter. In first switch input plug Null and second your simulation. I hope I understand your problem right this time Edited June 3, 2012 by Tom Quote Link to comment Share on other sites More sharing options...
chaindriver Posted June 4, 2012 Author Share Posted June 4, 2012 You can use Switch SOP before File sop and use same expression in Select Input parameter. In first switch input plug Null and second your simulation. I hope I understand your problem right this time Thanks for the help Tom. Used it in my network and it works! Initially I thought it wouldn't work because switching to the null branch would mean that the main sim branch is not evaluated, but looks like I was wrong. 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.