Thanks Nathan.
Am 16.06.2016 um 22:13 schrieb Nathan Rusch:
The knobs are just there to present attributes from whatever shape or stroke is selected, so you need to look at the attribute values directly:for sel in node['curves'].getSelected(): if not isinstance(sel, nuke.rotopaint.Stroke): continue attr = sel.getAttributes() brushSize = attr.getValue(frame, attr.kBrushSizeAttribute) -Nathan *From: *Igor Majdandzic <mailto:[email protected]> *Sent: *Thursday, June 16, 2016 12:43 PM*To: *[email protected] <mailto:[email protected]>*Subject: *[Nuke-python] Accessing Transform Information on Stroke Hey, could I just pick your brain for a second? How do I get the brush size of a specific Stroke in the RotoPaint node. I kinda get the shapes, but I'm drawing blank when accessing the actual knobs associated with it. Any hint? Thanks, Igor _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
