Get the project when dealing with dynamic enumerator
0

6 posts in this topic

Hello,

Any chance I can get which project the user is operating on in a dynamic enumerator event handler?

For example, I want to list all the assetbuilds in a shot attribute, which surely only the assetsbuilds of the shot's project are supposed to be shown.

Cheers.

John.

Share this post


Link to post
Share on other sites

Hi John,

If you print the event in the dynamic enumerator callback you will see all the variables available.

If the variable you're looking for is not there we can add this as a feature request.

 

Regards
Simon

Share this post


Link to post
Share on other sites
On 2/1/2020 at 11:49 PM, Julian Martinz said:

@John maybe I don’t get the problem but can’t you just get the project via the entity you’re dealing with? Or are you just looking for a more convenient way?

Best,

Julian 

the hard part is to get the project in a dynamic enumerator event handler, as only limited data is provided. When dealing with that specific event, there's no way to get the entity I'm on. I think it makes sense because you are not always query a enumerator upon a entity( possibily by a filter, in which case there's no entity)

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
0