Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ttfcore.common.environ as env
- import ttfcore.common.context as context
- show_env = env.ShowEnv()
- show_cfg = show_env.show_cfg
- fields = {
- 'sequence': "PY",
- 'shot': "5523",
- 'step': "previs",
- 'task': "shot",
- 'version': 5
- }
- ctx_obj = context.from_fields(show_cfg, fields, 'maya_shot_publish')
- print ctx_obj.apply_template()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement