This file contains 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
# Script by RuiMac - 09-2015 | |
import c4d | |
from c4d import gui | |
#Welcome to the world of Python | |
def replace(obj,m1,m2): | |
# while there are still objects... | |
while obj: | |
# get all the tags of the object |
This file contains 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
# Script by RuiMac - 09-2015 | |
import c4d | |
import sys | |
from c4d import gui | |
# IDs of the dialog elements | |
OPTION=1000 | |
TH_TEXT=1009 | |
THRESHOLD=1010 |