Wed Jul 21, 2021 2:08 pm
Hi,
Is it possible to create a reusable function/expression in fusion?
The aim is creating a set of vertical bars on a bar chart, so vertical axis might be 100.
The idea was to create a Custom Tool "Bar1Value" that held the bars value so say a bar at half height was 50
and if I could create a function that could be stored in say something like a custom tool "BarFunction" to calculate its sRectangle height. e.g. calc_height(b) = log(b,10) thats not the actual function but just an exampls.
Then I could set the sRectangle1 height expression to be BarFunction.calc_height(Bar1Value.NumberIn1)
then I could duplicate the bars and change Bar1Value to Bar2Value and so on.
This would save me from pasting a complex function into the expression of sRectangle1.height