Use an XY_Knob. For example...

nuke.createNode('NoOp').addKnob(nuke.XY_Knob('position'))


-Ean


On Tue, Apr 2, 2013 at 11:49 AM, Fredrik Averpil
<fredrik.aver...@gmail.com>wrote:

> Hi, does anyone know how I could ask the user to choose a pixel using i.e.
> a crosshair using Python?
>
> What I want is X,Y - I do not need the rgb values or anything like that.
> Just the pixel selected by the user.
>
> // Fredrik
>
>
>
> _______________________________________________
> 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

Reply via email to