right now, osx. I forgot I had the expression in there when I sent this out.
I think it has to do with something goofy I'm trying to do (setting xpos and 
ypos as expressions so they always track with the parent) and snap to... in the 
prefs.
on the bottom node (moveMe) it's being a bit 'jiggly', like there's tension 
between the autoplace and the expression. Depending on the jiggle, the values 
are different, as if it's where it really is and where the node thinks it 
should be. I turned the snap off and it's tighter, meaning I have to work 
harder to make the different values - but it still happens (in x too). Not a 
big deal, but I think it's probably preventing the nodes from tracking together 
as tightly as I'd like.

set cut_paste_input [stack 0]
version 6.2 v1
push $cut_paste_input
NoOp {
 name followMe
 selected true
 xpos -40
 ypos -308
}
NoOp {
 name moveMe
 selected true
 xpos {{followMe.xpos}}
 ypos {{followMe.ypos+30}}
}


jrab

On Apr 17, 2011, at 12:20 AM, Nathan Rusch wrote:

> I can't seem to reproduce this (I get consistent results between both 
> methods), but I definitely agree it sounds like a bug. I wonder if there's 
> some kind of accuracy issue associated with one of them, being that the 
> values are so high (or low, in this case). What version/platform are you on?
> 
> -Nathan
> 
> -----Original Message----- From: Frank Rueter
> Sent: Saturday, April 16, 2011 3:12 PM
> To: Nuke Python discussion
> Subject: Re: [Nuke-python] ypos values
> 
> I dare say that's a bug
> 
> On Apr 17, 2011, at 2:39 AM, John RA Benson wrote:
> 
>> hello -
>> 
>> just curious - would anyone know why these values are different? xpos seems 
>> to be the same. Besides float and int...
>> 
>> nuke.selectedNode()['ypos'].value()
>> # Result: -13028.0
>> nuke.selectedNode().ypos()
>> # Result: -13033
>> 
>> thanks
>> JRAB_______________________________________________
>> Nuke-python mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python 
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to