Skip to content

Instantly share code, notes, and snippets.

@990adjustments
Created August 4, 2012 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 990adjustments/3253435 to your computer and use it in GitHub Desktop.
Save 990adjustments/3253435 to your computer and use it in GitHub Desktop.
A Cinema 4D C.O.F.F.E.E. script that adds a compositing tag to a selected object with "Seen by Camera" off by default.
main(doc,op)
{
// Insert a compositing tag on the selected object
if (!op)
return NULL;
var compositingTag = AllocTag(Tcompositing);
compositingTag#COMPOSITINGTAG_SEENBYCAMERA = 0;
op->InsertTag(compositingTag);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment