Page 1 of 1

Numeric variables/parameters

PostPosted: Fri Jan 27, 2017 1:56 pm
by Marco Traverso
Hello,

I wonder if there is a way to set a numeric value that is used/referred by multiple tools.

For instance, I have a number of image sequences that have a certain length in the timeline, if I need change it - for all the clips - unless I'm missing something - I need to change each value individually.

I'm looking for something like creating a numeric variable X, and then "feed" that value to multiple tools, or alternatively entering the variable name instead of a direct numeric value (I'm used to working with a nodal software - Grasshopper for Rhino 3D - where every single numeric value can be a node).

This would be very useful for setting and - most of all - adjusting a numeric value shared by multiple elements of the composition.

Is there a way to accomplish this? Does this make sense?

Thanks in advance,

Marco

Re: Numeric variables/parameters

PostPosted: Fri Jan 27, 2017 10:22 pm
by Sander de Regt
You can do this with almost every numeric value in Fusion except the one in your example.
It's possible to 'publish' a value and then connect other values to this published value. Changing it in one place will change it everywhere from that point on. So for example you can connect the blur size of different blur tools together so they work together. Is this what you're looking for?

Re: Numeric variables/parameters

PostPosted: Sat Jan 28, 2017 8:42 am
by Peter Cordes
Marco Traverso wrote:Hello,

I wonder if there is a way to set a numeric value that is used/referred by multiple tools.

For instance, I have a number of image sequences that have a certain length in the timeline, if I need change it - for all the clips - unless I'm missing something - I need to change each value individually.

I'm looking for something like creating a numeric variable X, and then "feed" that value to multiple tools ...



Hi,

simply put a transform tool into your comp and don't connect it to anything.
Now you can "grab" the values in that transform tool from any other tool via expression.

I hope it helps.
Peter

Re: Numeric variables/parameters

PostPosted: Sat Jan 28, 2017 8:53 am
by Marco Traverso
Thanks Sander and Peter for the reply,

It seems those are exactly the things I'm looking after, I'll look into them.

Regarding my specific case, I was able to get something working using the TimeSpeed tool and creating instances sharing a common "Delay" value.

Thanks again!

Marco