Community Forum

line 1: invalid syntax

Forum Overview >> Maya Exporter

CategoryMaya Exporter
Created29.05.2013 21:32


Jason Jacobes (Unknown) 29.05.2013 21:36
Im trying to load the new exporter for 2013 maya but this is what I get anybody got a clue?

#Error: line 1: invalid syntax #

Jason Jacobes (Unknown) 29.05.2013 21:41
if I do it in mel i get :
/ Error: line 1: Plug-in, "C:Documents and SettingsjasonMy DocumentsmayascriptsI3DExporter20123.mll", was not found on MAYA_PLUG_IN_PATH. //

Sven2157 (Unknown) 29.05.2013 23:23
Where are the path delimiters? I see: "C:Documents and SettingsjasonMy DocumentsmayascriptsI3DExporter20123.mll" ...

But why is it not: "C:\Documents and Settings\jason\My Documents\mayascripts\I3DExporter20123.mll"?

Also, I use MAX, but aren't you suppose to put the plugins into the ROOT Maya directory: "C:\Program Files\Autodesk Maya\mayascripts\I3DExporter20123.mll"? <or something like that >

I know for MAX it said to put them into the main( root ) directory's plugin/script folder.

Also, I thought I saw somewhere that it might should be like this: "C:/Documents and Settings/jason/My Documents/mayascripts/I3DExporter20123.mll" - forward slashes '/' not backslashes '\' ...

Unknown 30.05.2013 13:49
if I do it in mel i get :
/ Error: line 1: Plug-in, "C:Documents and SettingsjasonMy DocumentsmayascriptsI3DExporter20123.mll", was not found on MAYA_PLUG_IN_PATH. //

Sven2157 (Unknown) 30.05.2013 16:25
Yes, I can read that in your second post ... I am not going to help further, unless two conditions are met:
1. - Add your name back to your posts( unless that post was not you ), so I know who I am talking too. Common civilized conversation courtesy.
2. - You help me, help you. Repeating yourself, does not help me, nor others, understand better. The greatest thing about forums, is that I don't have to remember what you said, because I can re-read the previous post.

Now, seeing that this forum is nearly lifeless, would you like some help?

If yes, then provide me with a bit more information; answer my original questions. Why are the slashes missing?

If no, then good luck to you ...

Sven2157

Unknown 30.05.2013 20:17
if I do it in mel i get :
/ Error: line 1: Plug-in, "C:Documents and SettingsjasonMy DocumentsmayascriptsI3DExporter20123.mll", was not found on MAYA_PLUG_IN_PATH. //

Jason Jacobes (Unknown) 30.05.2013 21:57
No sorry about that after I post the first post the page went blank, so I refreshed the page and thats when the second post came about. I just typed in what It said this is a copy of what I put in.
loadPlugin -qt "C:\Documents and Settings\jason\My Documents\maya\scripts\I3DExporter20123.mll";
source I3DExportUI;
source I3DExportValidate;
I3DExport;


Sven2157 (Unknown) 31.05.2013 00:26
I think I read somewhere, that you have to have forward slashes '/' instead of backslashes '\' in Maya( I have only used Maya a handful of times; CAD and MAX are my thing ). So try this:

loadPlugin -qt "C:/Documents and Settings/jason/My Documents/maya/scripts/I3DExporter20123.mll";

IRC, it uses a modified python language? Let me know...


Note: Log in to post. Create a new account here.