Launch custom app from maya menu?

Hey all we developed a couple of custom apps and they all work great. They of course show up correctly in the maya shotgun menu, however, we as a studio have a custom tool menu and I would like to add these apps in there. For the life of me I can not figure out the python call to open a custom app. Can anyone point me in the right direction?

Hi @jkiser

It should be something like:

import sgtk

engine = sgtk.platform.current_engine()

app = engine.apps["tk-whatever-yourcustomapp"]

app.open_app() # or whatever function you use to open your app.

Bare in mind that depending on the current context of your host application the app might not be accessible.
Hope that helps. Let me know if I need to elaborate on some parts a bit more. :slight_smile:

Cheers Fabian

1 Like

Greate, @jkiser , there are some tools I want to put in the shotgrid menu too. Although I usually write tools for Maya and Nuke, I still don’t know how to develop an app for shotgrid. Even though I forked tk-multi-starterapp from github.com, I still can’t get the point. So could you show me the way where I can start from?