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. <crestchr...@gmail.com > <javascript:>> 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 python_inside_maya+unsubscr...@googlegroups.com <javascript:>. >> 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/57ff7082-05fb-4a49-9a65-57a25ea97041%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.