Jump to content

group object for only one frame


SpencerL

Recommended Posts

I have a group DOP that brings in objects based on its color using the expression

if(prim($OBJID, 0, "Cd", 0)>0, 1, 0)

What I need is for the object to only be in the group for one frame and then be dropped out of the group. I could also do what I need to do by starting a "counter" once the object is in the group. Im just not sure how to do this in DOPs. If this were in POPs, I would assign the group an attribute called "count" and set the value to be $COUNT + 1. I can then use the count value to activate/deactivate values. I cant seem to figure out how to do this in DOPs. Any suggestions appreciated.

Thanks!

Edited by SpencerL
Link to comment
Share on other sites

I'm not sure but can we make a custom global variable or add an attrib to be the on particular frame you need..and then group it using that attrib? (i havent really tried anything like this )

edit: if attribs dont work..can we use a custom global variable instead?

Edited by bhaveshpandey
Link to comment
Share on other sites

I'm not sure but can we make a custom global variable or add an attrib to be the on particular frame you need..and then group it using that attrib? (i havent really tried anything like this )

edit: if attribs dont work..can we use a custom global variable instead?

Well, Im sure something like that would work if all the objects entered the group at the same frame, but in my case my objects are entering the group at different frames. Once the enter it, I only want them to be in the group for a single frame. Again, if there is a way start a counter on the frame the object enters the group, that would be enough for me.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...