Skip to content

Instantly share code, notes, and snippets.

View gfxhacks's full-sized avatar

Gfxhacks gfxhacks

View GitHub Profile
import hou
# get node (find the path in your node's info panel)
n = hou.node("/path/to/node")
# get existing list of parameters for the specified node
g = n.parmTemplateGroup()
# define folders and parameters
f = [
@gfxhacks
gfxhacks / ae-total-render-time.py
Last active August 15, 2020 13:38
Calculate the Total Render Time of your completed After Effects renders. More Info: https://gfxhacks.com/ae-render-logs-total-render-time
#!/usr/bin/env python3
# Command Line Usage: python3 ae-total-render-time.py /path/to/AERenderLogsFolder/
# Title: ae-total-render-time.py
# Description: Calculate the Total Render Time of your completed After Effects renders.
# Author: gfxhacks.com
# More Info: https://gfxhacks.com/ae-render-logs-total-render-time
import os
@gfxhacks
gfxhacks / myProjectTemplate.py
Created May 14, 2020 17:33
Example of how to use at: gfxhacks.com/project-folder-templates-in-finder-using-python
import os
def createFolder(folder):
try:
if not os.path.exists(folder):
os.makedirs(folder)
except OSError:
print('Error creating folder: ' + folder)
createFolder('My New Folder')
@gfxhacks
gfxhacks / MotionGraphicsTemplate.py
Last active May 14, 2020 17:34
A complete motion graphics project template, ready to customize... More at: gfxhacks.com/project-folder-templates-in-finder-using-python
# cd to folder in Terminal, then run script.
import os
def createFolder(folder):
try:
if not os.path.exists(folder):
os.makedirs(folder)
except OSError:
print ('Error creating folder: ' + folder)
@gfxhacks
gfxhacks / AfterEffectsTemplate.py
Last active May 14, 2020 17:34
After Effects Project Template. More at: gfxhacks.com/project-folder-templates-in-finder-using-python
# cd to folder in Terminal, then run script using python.
import os
def createFolder(folder):
try:
if not os.path.exists(folder):
os.makedirs(folder)
except OSError:
print ('Error creating folder: ' + folder)