In Nuke, each property has it's own text field and it's own expression.
When you click the show/edit expression option from the animation menu for
a 2d position knob, for example, you get two expression fields and you fill
in an expression for each.
If you want to refer to a property from a supposed array, you can call up
the letter of the property, as in:
SomeNode.translate.x
SomeNode.scale.h

Good?

It's a lot simpler than AE. You don't have to separate the values from an
array, as there isn't an array.

Hope this helps.
R




Ron Ganbar
email: [email protected]
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/

On Mon, Sep 28, 2015 at 8:55 PM, Gary Jaeger <[email protected]> wrote:

> I have a couple of expression questions.
>
> 1. For a corner pin (or any x,y values?) how do I separate the x and y?
> For instance in AfterEffects I might right an expression like:
>
> x = someLayer.transform.position[0];
> y = someLayer.transform.position[1];
> [x,y]
>
> 2. can I do relative maths, so again like in AE:
>
> x = thisComp.width-someOtherValue
>
> Gary Jaeger // Core Studio
> 249 Princeton Avenue
> Half Moon Bay, CA 94019
> 650.728.7957 (direct)
> 650.728.7060 (main)
> http://corestudio.com
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to