Get selected Task from Launchpad within Nuke
2 2

6 posts in this topic

Hi,

I want to run some scripts in nuke after I start it from launchpad. However, I need to know what task nuke has been launched for.

What would be the preferred way to access this information?

Share this post


Link to post
Share on other sites

Hi, if you need to set JUST the context, having the environment is correct and enough.

If you want to have your interface refreshing (eg: ftrack-connect-maya, ftrack-connect-nuke) you can try doing this once you set the env.

``` python
       from ftrack_connect.connector import panelcom
       panelComInstance = panelcom.PanelComInstance.instance()
       panelComInstance.switchedShotListeners()
```
My2C
Cheers.

L.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2