View Full Version : [MEL] Calling non-native procs from maya's /script folder ?

12 December 2011, 07:02 PM
Hello cgtalkers.

I'm trying to add the UV option "Layout" to a little script but I can't seem to get it working. When I do it by hand and try to replicate what was in script editor I have:

polyLayoutUVPrescale0polyMultiLayoutUV -lm 1 -sc 0 -rbf 0 -fr 1 -ps 0 -l 1 -psc 0 -su 1 -sv 1 -ou 0 -ov 0;
// Error: Cannot find procedure "polyLayoutUVPrescale0polyMultiLayoutUV". //

Ok, so I tracked down the function called which is in "...\mayadir\scripts\others\performPolyLayoutUV.mel" but I don't understand how to setup the vars that will make the Layout happen the way I want to (each polygon to its own UV 1:1 square)

I think I need to setup optionVars but I'm confused by the way to handle this.

Any help is welcomed! Thanks


CGTalk Moderation
12 December 2011, 07:02 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.