Python script to refresh attribute

   1342   1   0
User Avatar
Member
9 posts
Joined: 7月 2016
Offline
Hello,

I'm trying to get the creation time of frames and put that in an attribute to later put this attribute in an overlay.

The problem is that when PDG generates the work items the attribute is not created yet, it's only created when the python script cook.
So the overlay appears empty.

I tried whith Dynamic work item generation but it breaks the rest of the depedency chain for any reason.

How can I force it to refresh the work item attributes after the python script cooked?

Thanks you
User Avatar
スタッフ
600 posts
Joined: 5月 2014
Offline
Set your Python Script TOP's "Evaluate During" parameter to "Generate" instead of "Cook", so that it creates the attributes at the same time the work items are created.
  • Quick Links