Hello again, so I'm trying to force set a specific value into the UV toolkit. I want to run a line of script that sets Map Size to 2048I set the value there with history turned on in the script editor, but it only captures this command. uvTkTexelDensityChangeCB; When I paste that command in I can't figure out what the…
[maya install path]\scripts\others\uvTkBuildTransformOptions.mel When you run across things like that, there's two ways to hunt it down. The first is the mel command "whatIs uvTkTexelDensityChangeCB". This usually returns the full path to the appropriate file. I've run into cases where it doesn't really know. So I do a…
My bet: try to find the actual built-in script responsible for this, if not, learn the core API from other existing implementation? https://www.moddb.com/downloads/maya-mel-texel-density-td-script
That's awesome, this was the magic line I was looking for to get my script working. Thank you very much for that. I just need to explicitly set the value of this one float field before my script runs to avoid it causing an error if someone accidentally has 0 set in that field. You da maaaaan. floatField -e -v 5.12…
Yeah I just need to pre populate that value to avoid a script error, the texSetTexelDensity I actually want to be dynamic, so setting that explicitly doesn't help in that case.