expression problem

   1928   2   1
User Avatar
Member
383 posts
Joined:
Offline
Hello

I have a transform node in the 2nd input of a vopsop.
I refer like so ch(“../xform1/ry”) to get the value of the ry channel.

My problem is I need to use my vopsop with a lot of transform although I need an expression to replace the name of the transform node dynamically.

ch(“../`opinput(”.“, 1)`/ry”) doesn't work
ch(“../”+`opinput(“.”, 1)`+“/ry”) doesn't work
ch(`“../opinput(”.“, 1)/ry”`) doesn't work
ch(“`”../opinput(“.”, 1)/ry“`”) doesn't work

no more idea guys …
is it a backquote thing ?

thanks for your help
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
7 posts
Joined: April 2014
Offline
You can try this:

ch(“../”+opinput(“.”, 1)+“/ry”)
Charles-Felix Chabert
FX Supervisor / FX Dept. Supervisor
Digital Domain.
User Avatar
Member
383 posts
Joined:
Offline
It works !

thanks
http://vimeo.com/vbkstudio [vimeo.com]
  • Quick Links