Search - User list
Full Version: cook time attribute?
Root » PDG/TOPs » cook time attribute?
jparker
Is there an way to grab the cook time of an upstream work item and store it as an attribute? Or is there another method of storing that data for access?

Cheers,
Jon
tpetrick
You can access the cook time of a work item using the Python API: https://www.sidefx.com/docs/houdini/tops/pdg/WorkItem.html#cookDuration [www.sidefx.com]

For example, you could use a Python Script TOP to store to an attribute: work_item.setFloatAttrib("cooktime", parent_item.cookDuration)
jparker
Awesome! Thanks for the tip.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB