Using sgtk in Deadline farm job

Hello there!

I was wondering, what’s the best way to access sgtk in a deadline job on the farm?
For example, in a python script I’d like to create a context based on a maya scene file, and get the Step from that context. Is this possible?

You will have to bootstrap sgtk on the farm to do this.

What is it you are aiming to do, because you can do a lot just with the python api.

If you really want to bootstrap you can follow this example:

2 Likes

For anyone later with the same question:
https://help.autodesk.com/view/SGDEV/ENU/?guid=SGD_pg_developer_pg_sgtk_developer_generating_path_publish_html
https://help.autodesk.com/view/SGDEV/ENU/?guid=SGD_pg_developer_pg_sgtk_developer_bootstrapping_html

1 Like