Jump to content

Get the project when dealing with dynamic enumerator


John

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 weeks later...
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)

Link to comment
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
×
×
  • Create New...