@tpetrick Amazing! Thank you! Just a small correction: the actual function is pdg.workItem() (lowercase 'w'), I got stuck for a while before I realized. Thanks for linking the docs.
For every solution with a spare parameter there's always another secret one that's much cleaner.
Found 4 posts.
Search results Show results as topic list.
PDG/TOPs » How to access current cook value of an attribute in Python?
- alexmajewski
- 4 posts
- Offline
PDG/TOPs » How to access current cook value of an attribute in Python?
- alexmajewski
- 4 posts
- Offline
I would like to check current cook value of a wedge attribute in a Python expression.
The same way that we use `@pdg_index` in string parameters etc. but this time we'd like to grab that value in a script. How can I do that?
The same way that we use `@pdg_index` in string parameters etc. but this time we'd like to grab that value in a script. How can I do that?
PDG/TOPs » ImageMagick mosaic from different length videos
- alexmajewski
- 4 posts
- Offline
When you plug two image sequences of different lengths into ImageMagick it will produce an expected nice looking mosaic, but once the shorter sequence ends, it instantly stretches the remaining sequence to fill the screen.
My guess is that we probably need to somehow generate the missing frames for the shorter video (either by creating black images, or freezing the last frame).
But I'm clueless on how that could be done. I will appreciate any tips to solving this puzzle.
I extract image sequences from mp4 files.
My guess is that we probably need to somehow generate the missing frames for the shorter video (either by creating black images, or freezing the last frame).
But I'm clueless on how that could be done. I will appreciate any tips to solving this puzzle.
I extract image sequences from mp4 files.
PDG/TOPs » How to access render times in TOPs?
- alexmajewski
- 4 posts
- Offline
Hi, I'm a TOPs beginner trying to write down render times on my Redshift renders made with TOPs. (total render times, so just one value for 94 frames for example)
I can't figure out how to access render time info. When rendering, Houdini always displays total render time under the progress bars, so I'm expecting that to be accessible. But then there's the "cook time" attribute on my ROPFetch node that could probably also be useful, but that one I also don't know how to access.
Can anyone nudge me in the right direction?
I can't figure out how to access render time info. When rendering, Houdini always displays total render time under the progress bars, so I'm expecting that to be accessible. But then there's the "cook time" attribute on my ROPFetch node that could probably also be useful, but that one I also don't know how to access.
Can anyone nudge me in the right direction?
-
- Quick Links