hello, in a script I am working on I have inadvertently copied integer parameters almost everywhere in the definition; the problem is that now if I insert a decimal value this is approximated to an integer.
so I was looking to replace all integer parameters with a number or data one, and to do that I wanted to use the SwapParamType MetaHopper component but I can’t get it to work.
could someone help me with an example? otherwise, I have to substitute them manually.
thank you
@inno’s solution works well – the crash you’re avoiding is an infinite loop (you can’t use metahopper to update a component that the metahopper component itself depends on). Here’s another approach: