This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import c4d | |
def main(): | |
doc.StartUndo() | |
# Flags | |
# 0 GETACTIVEOBJECTFLAGS_0 | |
# 1 GETACTIVEOBJECTFLAGS_CHILDREN | |
# 2 GETACTIVEOBJECTFLAGS_SELECTIONORDER | |
objs = doc.GetActiveObjects(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main(doc,op) | |
{ | |
// Insert a expresso tag on the selected object | |
if (!op) | |
return NULL; | |
var expressoTag = AllocTag(Texpresso); | |
op->InsertTag(expressoTag); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" assciate *.pyp with python filetype | |
au BufRead,BufNewFile *.pyp setfiletype python | |
color molokai | |
set guioptions-=T | |
filetype indent on | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set autoindent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
OpenPrefs | |
Copyright: Erwin Santacruz, www.990adjustments.com | |
Written for CINEMA 4D R12.016 | |
Name-US: OpenPrefs | |
Description-US: Open the Cinema 4D user preferences folder. | |
Make it a button for quick access. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Toggle-AntiAliasing | |
Copyright: Erwin Santacruz, www.990adjustments.com | |
Written for CINEMA 4D R12.016 | |
Name-US: Toggle-AntiAliasing | |
Description-US: A quick toggle for anti-aliasing settings. | |
Make it a button for quick access |