Please paste an example of your actual code. A big pink long probably means
you have a python syntax error. The Mel code should be in an actual string
so it should syntax highlight like a string.

On Wed, 3 Jun 2015 1:36 AM Christopher. <[email protected]> wrote:

> The beginning and end of the MEL string has a nice long pink line in
> Sublime, I assume this is because Sublime doesn't have syntax highlighting
> for MEL ?
>
> The MEL code doesn't execute, I get a SyntaxError on line 1: EOL while
> scanning string literal ?
>
> On Monday, June 1, 2015 at 10:53:28 PM UTC-4, Justin Israel wrote:
>
>>
>>
>> On Tue, Jun 2, 2015 at 2:07 PM Christopher. <[email protected]>
>> wrote:
>>
>>> Alright;
>>> import maya.mel as *whatever name*
>>> *whatever name*.eval (
>>> <MEL script>
>>> )
>>> Correct ?
>>>
>>
>> Yep. Where <MEL script> is a string.
>>
>>
>>>
>>> Converters are fine for some, I rather understand the guts :)
>>>
>>>
>>> On Sunday, May 31, 2015 at 3:34:38 PM UTC-4, Christopher. wrote:
>>>>
>>>> Hi, I have a script that uses the def() syntax, the problem is the
>>>> original code is MEL, using the following syntax is not working ?
>>>>
>>>> def acme()
>>>> [MEL code]
>>>> acme()
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  --
>>> 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/e4cafeca-cf47-4477-85be-4216a8beca6e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/e4cafeca-cf47-4477-85be-4216a8beca6e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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/57ff7082-05fb-4a49-9a65-57a25ea97041%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/57ff7082-05fb-4a49-9a65-57a25ea97041%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAPGFgA0X7_3sJMv_4tsvWPBODwzf0pZp_EHSx_pFkTj2Am8ZMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to