Area :: Header
3ds Max 2015 Extension 1 is here

With new tools to power your pipeline
Discussion Groups

FBX Plug-ins Import-Export Discussions

Reply
Contributor
patconnole
Posts: 13
Registered: ‎10-12-2011

error output in script editor?

42 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!
Please use plain text.
Distinguished Contributor
CarlosC_1
Posts: 148
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
Please use plain text.
Contributor
patconnole
Posts: 13
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')
Please use plain text.