CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 08-14-2009, 08:44 PM   #1
Mitch Rosefelt
OutThereSumwhere, USA
Join Date: Jan 2008
Posts: 1,045
What does g error refer to?

source "C:/Documents and Settings/Administrator/My Documents/maya/2010-x64/scripts/pixl_buildHierarchy.mel";
// Error: g //
// Error: Syntax error //

I get this error when I source the script, which only contains a global procedure. However, when I paste the code into the Script Editor and execute, there are no errors.

Anyone know what " g"refers to? Is this an ASCII formatting problem?
Old 08-14-2009, 09:15 PM   #2
Mitch Rosefelt
OutThereSumwhere, USA
Join Date: Jan 2008
Posts: 1,045
Well this isn't a full explanation of the problem, but I found that if I changed the file encoding from "Unicode" to "UTF-8", the error went away.
Old 08-14-2009, 09:15 PM   #3
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 03:03 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.