redpaw Posted February 18, 2011 Share Posted February 18, 2011 Hi guys, quick question. Is there a way to set up and use an attribute to flag a piece of geometry for only a certain number of frames? in code, I'm thinking like add an attribute called separated, set it to 0, then modify it with some expression to set separated to 1. then for every frame after that, if separated is already 1, it should always stay as 1, even if the original modification expression would evaluate it back to 0 again. basically a one way switch attribute. I know the nature of sops may not handle this, so is this a case for a sop solver within dops? if it would be possible to do it in sops tho that would be ideal. if anyone has any ideas that'd be awesome. thanks in advance -johnc Quote Link to comment Share on other sites More sharing options...
LaidlawFX Posted February 18, 2011 Share Posted February 18, 2011 set up an if statement with a point/prim type expression that can call different Attribute values. if(point("../null1", 0, Seperated_attribute, 0)==0, 1, 0) point expression prim expression Quote Link to comment Share on other sites More sharing options...
DanBode Posted February 18, 2011 Share Posted February 18, 2011 You can do this by bringing the attribute into chops and using a trigger chop. Here's a quick example file. trigger_chop.hipnc 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.