I cant be sure why this happening, the script is already complied and has been run successfully to windows, linux and mac. Usually has to do with spacing in the code, python is very sensitive in maya, but as I said because is per-compiled should not give errors.
One thing that I can do, in order to address the problem, is to give you the original code and copy paste it in your script editor and run it. Sent me an email to cparliaros@gmail.com in order to reply with the script.
cheers
Christos
All you have to do to fix this is delete the indent on the 2nd line of code.
If you copied and pasted from the text file that was supplied, it for some reason indents the 2nd line of code when pasting it into the Python tab in Maya's script editor.
Thanks for this useful script!!!
Hi,
This seems not to be the issue on mac, after deleting the indent, still not working. Here is the error:
Mel:
// Error: objsExporter_v2.objsExporter(); //
// Error: Syntax error //
python:
# Error: NameError: name 'objsExporter_v2' is not defined #
Look forward to hear from you.
Thanks
Comments on this bug:
chris parliaros said almost 16 years ago:
joed8349 said almost 16 years ago:
chris parliaros said almost 16 years ago:
yasush said about 15 years ago:
SuperSparkplug said over 14 years ago: