SimplyMaya
Community
The SimplyMaya Forums
View all Forums
A place you can ask or answer VFX related questions
Latest forum posts
Safari browser for Simply Maya?
Wireframe Playblaster for Maya - Render Your Wireframes With Ease!
Mr Bean Animation
Boolean>Difference - Problem
specular highlights at UV seam
Rig explodes when translation on splineIK on spine
News and articles
News & Articles
Vfx related news and articles
Random news
Senior Modeler in VFX - An interview with Aldo Martinez Calzadilla
Texture collaboration system (Coming Soon)
Upload or Download textures
A place to download great textures or share your own with the community
Legacy Resources
Latest uploads to our system
View new Posts
Edit your profile
View threads your subscribed to
User control panel
Training
Maya Training and Tutorials
View all training
View hundreds of hours of Maya training online or via download
Looking for something specific?
Focus on Archviz & Environments
Focus on Organics
Focus on Hard Surface
Focus on Lighting, Rendering & Texturing
Focus on Dynamics, Rigging & Animation
Post Production
Training options on SimplyMaya
Current member status:
Not logged in
Create Account
Pick a streaming payment plan
We offer several different subscription options for our online training
Try streaming for free
Watch up-to three hours of training over a 10 day period for free
Buy training for download
Choose the content you want and buy it outright, downloads don't expire and you can keep them for as long as you'd like
Latest training
Integrating 3D models with photography
Substance Painter 2017
Complex UV Layout in Maya 2018
Training you might like
Introduction to Maya - Modeling Fundamentals Vol 1
Spach-Alspaugh House and Environment Volume 5
If you want to ask a SimplyMaya training related question use this forum:
SimplyMaya tutorials
Create Account
Sign in
Username
Password
Sign in
Forgot Password?
SimplyMaya Forums
Welcome to the forum, feel free to ask questions here.
SM Forums
/
Maya Questions
/
Programming
/ ChannelBoxCustomizer error.
Register
FAQ
Calendar
Mark Forums Read
Programming
MEL Scripts, Expressions & Programming Related Topics
Join the conversation. Reply to post
Thread Tools
25-03-2004, 04:24 AM
#
1
onlooker
Subscriber
Join Date: Jan 2003
Posts: 15
ChannelBoxCustomizer error.
Well here itis. I'm getting this error when trying to run CBC
ak_channelBoxCustomizer;
// Error: menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1;\
//
// Error: Unterminated string. //
// Error: menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1;\
//
// Error: Syntax error //
// Error: -on1 "optionMenuGrp -e -en 0 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 0 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: $cmdStr += "if (!`isUIComponentVisible(\"Channel Box / Layer Editor\")`) {\
//
// Error: Unterminated string. //
// Error: showChannelsLayers(\"\");\
//
// Error: Syntax error //
// Error: };";
//
// Error: Unterminated string. //
// Error: if($radio1)$ak_channelBoxLayout += "paneLayout -e -configuration single ChannelsLayersPaneLayout;";
//
// Error: "$radio1" is an undeclared variable. //
// Error: if($radio1==1){
//
// Error: "$radio1" is an undeclared variable. //
Is this CBC script working for everyone but me?
Reply with quote
onlooker
View Public Profile
Find More Posts by onlooker
25-03-2004, 10:45 AM
#
2
kbrown
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
well... i have no idea what that script is but it looks like someone has forgotten a quotation mark:
The first error is because of this line:
menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1;
should be:
menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1";
looks like there are many other similar errors. perhaps you should contact the author...
__________________
Kari
-
My Website
-
My IMDB
Do a lot, Fail a lot and Learn a lot!
Reply with quote
kbrown
View Public Profile
Visit kbrown's homepage!
Find More Posts by kbrown
25-03-2004, 11:01 PM
#
3
onlooker
Subscriber
Join Date: Jan 2003
Posts: 15
The channelbox customizer is a script I downloaded from here. it's on the fron page I think.
I'll add the quotes to the lines in question, and see how it works then I'll post again, and we'll see how it turned out.
Reply with quote
onlooker
View Public Profile
Find More Posts by onlooker
26-03-2004, 03:47 PM
#
4
osb
Registered User
Join Date: Mar 2004
Posts: 1
Hi onlooker,
This scripts was most probably written in a version prior to 5, hence this bug; In versions prior 5 you could spread strings over many lines by inserting a break character \ at the end of the line, however this does not work any longer. Simply open the scripts, remove the break character at the end of the statements, and put the string in one big line.
-Shyal
Last edited by osb; 26-03-2004 at
04:48 PM
.
Reply with quote
osb
View Public Profile
Visit osb's homepage!
Find More Posts by osb
Reply
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Error Reading File... HELP ME PLEASE
roryfollansbee
Challenge Forum
1
16-04-2016
09:00 AM
Cant open file
Jimmer
Maya Basics & Newbie Lounge
0
18-09-2014
03:58 AM
trouble opening maya scene
jooleyinboots
Maya Technical Issues
2
03-02-2014
09:11 PM
Quick way to duplicate/scale concentric walls?
Steve555
Maya Basics & Newbie Lounge
8
08-12-2005
02:42 PM
Syntax Error, please help
DezFX
Programming
2
17-01-2004
08:34 AM