Update! there's abit of re-structuring the code (hopefully I didn't messed it up somewhere). Pretty much tested on all situation and it looks like all works fine, if anyone find any strange behavior, please let me know. Hey monster, please take a look here. I've added the "Interactive mode" like what you suggested. You…
Damn nice man, thanks! never thought of doing it that way :) Still not fully understand the math solution you have on the fn, will look into it more next time, but for now it's all works as expected! Well thought I just posted here the complete version of the script that I have for now, probably anyone will benefit from it…
I see, I only tested multiple objects, and it was working on the setup I tested. The reason the box moves from 10 to 20 is because you are multiplying the center position by it's current position. The first solution off the top of my head is to just scale the object and handle the position afterward. On a side note, I…
Update!macroScript ScaleTocategory:"_Modification"tooltip:"Scale To"buttontext:"Scale To"( local xlength local ylength local zlength local target local ratio try (destroydialog STrollout) catch() rollout STrollout "Scale To" ( local oldPanel = getCommandPanelTaskMode() group "Reference Axis" ( radiobuttons rdo_axis…