-
Use Global Variables In Place of Values?
Hi guys!
I can’t find much about this topic online – or anything on here – but I’m pretty sure it must have come up before.
When you’re entering values into regular fields (like “P . X” coordinate on a simple primitive) is it possible to instead use a variable, and set those variables globally?
I have an intricate (yet simple) scene set up where nearly every single XYZ and Length/Width/Height value is relative to just FOUR constants. I was hoping there was a way to define these variables globally, so that I could simply change them, which would then propagate to any value/coordinate that utilizes the variable in a formula – without having to manually change the 250 affected locations.
So, for instance, I have an “OuterDiameter” global value of 4. I have 50 locations in the scene that have values all set relative to 4. Some specifically use 4, others use it in a formula (e.g., “4 * 0.25“), or an even more rugged formula (e.g., “(3.14 * 4 * 2) – 0.25“).
Right now, as I set things up, I’ve just hard-coded the values, of course. But now this giant house of cards is ready to move to the next step, where I need to start animating these XYZ and Length/Width/Height, and wouldn’t mind doing a run through to replace the values with vars+formula instead.
Any ideas?
———————————————-
Hobbyist level – R17