Skip to content

Instantly share code, notes, and snippets.

View reformstudios's full-sized avatar

Patrick Macdonald reformstudios

View GitHub Profile
reformstudios /
Last active March 23, 2020 19:49
This script solves the problem of running multiple deadline slaves on one workstation and then attempting to bootstrap a Shotgun pipeline config as part of a deadline task. The script does this by setting a unique path for each slave's Shotgun session (using the SHOTGUN_HOME environment variable)Save this script to your deadline repo's 'custom/p…
from System.IO import *
from Deadline.Events import *
from Deadline.Scripting import *
import os
def set_slave_specific_shotgun_home_path(deadlinePlugin):
In situations where you have multiple deadline Slaves on a single rendernode
Shotgun may fail to bootstrap a pipelineconfig if more than one slave
reformstudios / gist:993286b82f5e70b43013a3cd5f223c45
Created June 5, 2018 12:52
Create VES Camera Report Schema in Shotgun
Usage :
Setup a new custom entity type in SG to hold the VES camera schema. Assign this value to the VES_ENTITY_NAME variable.
Set the 'preview' variable to False if you want to execute the schema update.
WARNING : This script will update your Shotgun Database schema. Use it at your own risk. I accept no liability if you experience any data loss.
import sgtk