Can anyone tell me how I would go about loading plugins on maya launch. I want to get the mayafbx plugin loading by default when a user launches maya. Thanks!
Trying to find something useful to you while we are awaiting toolkit experts to get a hand on this. Check this out here: https://support.shotgunsoftware.com/hc/en-us/articles/219032818-Maya and see if it helps you or not.
Hi! One way to do this would be to add an engine_init hook to your configuration and add some code in there to check and load the plugin - just copy this hook into your config core hooks folder: https://github.com/shotgunsoftware/tk-core/blob/master/hooks/engine_init.py
Keep in mind that this will potentially be called multiple times, if the toolkit maya engine restarts.
What we are doing here is checking, and eventually load the maya plugins based on the pipeline step.
We used the hook of the workfiles “scene_operation_tk-maya” and every time the user create a file, depending on the context we load the relevant plugins.
Hello all thank you so much for the help. Sorry it took so long to respond here. What I ended up doing was creating a maya setup tool that loads plugins sets scene units etc based on project configurations and I called that through the engine init hook.