Freaking {} - that fixed it :P
> On 16/05/2017, at 13:02, Joerg Bruemmer <j.bruem...@lostgraphics.de> wrote: > > Hey guys, > This was really helpful for a problem I have. But is there somehow a limit > for how much python code you can put into it? I have a script which works in > the editor but not in text node. I have a rather long line as I was to > convert incoming TC into frames. > Thanks, > Joerg > >> On 4/05/2017, at 21:03, Gabor L. Toth <glt...@gmail.com> wrote: >> >> Hi, thanks for your reply! I found this solution: >> >> [python >> hiero.ui.activeSequence().trackItemAt(hiero.ui.currentViewer().time())] >> >> and this was needed for getting custom metadata from exrs and displaying it >> wit a text effect track. An example: >> [python >> hiero.ui.activeSequence().trackItemAt(hiero.ui.currentViewer().time()).source().mediaSource().metadata()\["media.exr.nuke.input.mtime"\]] >> >> Gabor >> >>> On Wed, May 3, 2017 at 10:37 PM, Carlos Trijueque <li...@ctrijueque.com> >>> wrote: >>> Not at work right now so I can't check exactly how I did it, but I got >>> it from one of these examples: >>> >>> https://docs.thefoundry.co.uk/products/hiero/developers/1.8/hieropythondevguide/examples/index.html?highlight=examples >>> >>> Hope it helps. >>> >>> Cheers. >>> >>> ./charlie >>> _______________________________________________ >>> Nuke-python mailing list >>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> _______________________________________________ >> Nuke-python mailing list >> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python