You'd need to define them (outside your functions) to specify the offset
you want between the parent and child node, for example:

distx = 0
disty= 90


On Tue, Jan 29, 2013 at 9:01 AM, satheesh <
nuke-python-re...@thefoundry.co.uk> wrote:

> **
> Nuke throwing following error.... Countless time.
>
> NameError: global name 'distx' is not defined
> NameError: global name 'disty' is not defined
> Traceback (most recent call last):
> File "**", line 1, in **
> File "**", line 16, in CalcDistance
>
> While i move the parent node....
> [/img]
>
> _______________________________________________
> 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
>
>


-- 
"Attention, attention. Here and now, boys," the mynah repeated. "Here and
now, boys."
_______________________________________________
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