Hi! How can I use scriptJob command to track the Move Tool axis orientation change (World, Object, Custom)? I need to trigger "something" every time when axis orientation is changed. Or maybe scriptJob is a wrong way in my case?
Hi! I need to start some proc when the pivot position (object or component) is changed. I wrote a script for object pivot and it works as needed, but how to modify it for component pivot?scriptJob -runOnce true -attributeChange ($s+".rotatePivot") doSomething;
Hi! I need to start some proc when pivot position (object or component) is changed. I wrote a script for object pivot and it works as needed, but how to modify it for component pivot? scriptJob -runOnce true -attributeChange ($s+".rotatePivot") doSomething;
I am looking for an example of showing an image from the current Texture library with any adjustments applied. Anyone has tried/done this? Or know where to look for example code? Thanks in advance.
Hi I'm working on a script in maya 2019 the unfold vertical command is uvTkDoUnfoldAlong(1); Can anyone tell me the unfold vertical command for 2017 and is it same for other previous version also? Because when I'm running my script and it is giving me an error in 2017 version.
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 a lot of useful stuff! Thank you. Just a quick question. Could you tell me what line to add in those mel scripts that the window will remember it's last position? It always opens in default place and usually it's in the middle of the screen so I have to move it. Appreciate your help.
I can't figure this out, I tried this, but it always returns true even if I close the window? textureWindow -query -exists "polyTexturePlacementPanel1Window";
Updated with interface and more control Now you can select which steps to commit, or do them all at once! You can download the script here. I'm still learning MEL, having a blast!