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
int num_choices = 5; | |
int idx = floor(rand(i@id + 65536) * num_choices); | |
i@bitmask = int(pow(2, idx)); |
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
"""Action button script.""" | |
import os | |
if kwargs["shift"]: | |
# Copy evaluated parameter string | |
text = kwargs["parmtuple"][0].evalAsString() | |
command = "echo -n {0}| xclip -sel clip".format(text) | |
os.system(command) | |
else: | |
# Copy a reference to this parameter |
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
{ | |
"path": "$HOME/cooltool/houdini{$HOUDINI_VERSION}" | |
} |
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
import hqueue.houdini as hq | |
node = hq.getNode("/obj/topnet1").displayNode() | |
node.executeGraph(False, True, False) |
NewerOlder