Use the .bbox()

snbbox = nuke.selectedNode().bbox()

print snbbox.x(), snbbox.y(), snbbox.w(), snbbox.h()


Hope it helps.



cheers,

diogo


On Mon, Dec 19, 2011 at 6:04 PM, coreydrake <
[email protected]> wrote:

> **
> Is there a way to the the bounding box values for a bezier shape?
>
> _______________________________________________
> 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

Reply via email to