On Sat, Nov 3, 2018, 9:28 AM <[email protected]> wrote:
> I thought it was something like :
>
> python ("import switchTexture switchTexture.switch()")
>
> assuming that my python file was switchTexture.py and inside this file, it
> starts with :
>
> def switch():
>
> But I got
>
> Error: line 1: invalid syntax
> Warning: line 0: Pre-Render MEL script failed...
>
Missing a semicolon between lines?
python("import switchTexture; switchTexture.switch()")
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/ea5bbcb4-9240-4abe-ad54-f25cb0ea1fdb%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3uhaEYkiVLO-veU5exgKwzUk%3DwJog9i4SG2g-EKn-QVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.