Area :: Header
Sweat, Swearing & Tears
Cupcakes & Critters reflects on what it takes to bring an indie game to market. Watch now
Discussion Groups

FBX Plug-ins Import-Export Discussions

Reply
Contributor
14 Posts
0 Kudos
Registered: ‎10-12-2011

error output in script editor?

70 Views, 2 Replies
04-13-2012 05:23 PM
Is there a way to grab any errors that an export generates, within Maya? (instead of accessing the log file). Are they output to a string that can be easily accessed?

Error: Unsupported Operation on Mesh Vertices

The plug-in has detected mesh nodes with unsupported operators that affect the vertex and/or face count. To correct this, delete the Non-deformer history before exporting. The following nodes will not be processed:
pCube1


Thanks!
Distinguished Contributor
148 Posts
0 Kudos
Registered: ‎09-07-2011

Re: error output in script editor?

04-18-2012 10:03 AM in reply to: patconnole
Hello patconnole,

Unfortunately, there is no mechanism to access them within Maya. They are logged to the file so your best bet is to parse this file.

Regards,
Carlos
Contributor
14 Posts
0 Kudos
Registered: ‎10-12-2011

Re: error output in script editor?

04-20-2012 02:33 PM in reply to: patconnole
Thanks for the response! I've decided to just wipe the file, export, then read its content with every export.

With python, I'm using this to find the log:

os.path.expanduser('~/maya/FBX/Logs/2012.1/maya2012exp.log')