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
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 |
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
''' | |
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 | |
sg=tk.shotgun |