Hey there. Begginer question. Is it possible in MEL to convert string text back to variable name. Here is rough example: $x=smoothstep(0,30,frame); $y=smoothstep(50,60,frame); $a=$x*$y; //down the script i have this: string $a="$x*$y"; Can i convert it back from string variable to $a=$x*$y; consisting corresponding values…
I don't do Mel but You should be able to use eval() to execute a string as if it were code https://help.autodesk.com/cloudhelp/2018/ENU/Maya-Tech-Docs/Commands/eval.html