# -*- coding: utf-8 -*-
import os
import sgtk
import tank
from tank_vendor import yaml
PROJECT_PATH = 'S:\Shared with groups\mtz'
REPO_NAME = 'MTZ'
TANK_PATH = 'S:/Shared with all/tools/tank/mtz'
env_context = os.environ.get('SGTK_CONTEXT')
context = sgtk.context.deserialize(env_context)
tk = sgtk.sgtk_from_path(TANK_PATH)
engine = sgtk.platform.start_engine('tk-maya', tk, context)
sg = engine.shotgun
上一篇
item的用法
2024-05-10
下一篇
tank 不同类型的logger
2024-05-10