Re: [cgkit-user] 'Layout' error using asfamcExporter in Maya
Brought to you by:
mbaas
|
From: Matthias B. <mat...@gm...> - 2011-04-05 22:08:01
|
Hi Irit, On 05.04.11 06:41, Irit Sella wrote: > I'm trying to use the script asfamcExporter.MEL for export from Maya > (2011) to asf/amc, and I get the following error: > // Error: Controls must have a layout. No layout found in window : I have just committed a fix for this. There was an extra line in the code that triggered this error in more recent versions of Maya (that script is fairly old). You can either grab an updated version from the git repository or just remove line 61 in the script (the call to setParent ..;). After that, the script should run again. But I noticed that Maya 2011 always appends the suffix to the file which in this particular case is actually the wrong suffix, so you might have to rename the files so that their suffix is *.asf/*.amc again. I hope that helps... - Matthias - |