Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 28-06-2010, 07:52 PM   #1
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,706
Thanks: 0
Thanked 85 Times in 77 Posts
Default refplanes.mel

Hi has anyone managed to get Kari's refplanes mel script to work in Maya 2011 ?
it's fine in previous versions but now i cant seem to get it to recognize any image files .
__________________


2 x Modeling Challenge Winner
jsprogg is offline   Reply With Quote
Old 29-06-2010, 02:17 AM   #2
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,982
Thanks: 33
Thanked 532 Times in 471 Posts
Default

What's the error? I could fix it up for you.
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 29-06-2010, 03:40 AM   #3
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,706
Thanks: 0
Thanked 85 Times in 77 Posts
Default

the first thing is that it gives a warning that -la/labelAlign flag is obsolete and should not be used.

other than that if i browse for an image to place in the top / side / front ect the image files dont show up in the browser yet they do if i want to add the image to a file texture node.
__________________


2 x Modeling Challenge Winner

Last edited by jsprogg : 29-06-2010 at 03:44 AM.
jsprogg is offline   Reply With Quote
Old 23-07-2010, 11:03 PM   #4
TriplePAF
Subscriber
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have the same issue with Maya 2011. I just can't select a file. The script editor is showing following errors:


// Warning: The -lw/-labelWidth flag is obsolete and should not be used. //
// Warning: The -la/-labelAlign flag is obsolete and should not be used. //
fileDialog2 -fm 1 -ds 2 -dir "/Users/Peter/Documents/maya/projects/" -ff "Filtered Files (Apache)";

My project map is called Apache ("Filtered Files (Apache)" !?

If I open a file just with the Maya file | import dialog the script editor is displaying the following line:

fileDialog2 -fm 1 -ds 2 -dir "/Users/Peter/Documents/maya/projects/Apache/" -ff "Filtered Files (*.*)";

Now it states *.*


I'm somewhat disappointed. The tutorial says Maya 6 and up



Peter.

Last edited by TriplePAF : 23-07-2010 at 11:05 PM.
TriplePAF is offline   Reply With Quote
Old 23-07-2010, 11:22 PM   #5
TriplePAF
Subscriber
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I got a little bit further

If I browse to the directory where my Images are standing and I type the exact name with extension inside the open dialog box then it creates the plane and I also got an extra warning:

// Result: /Users/Peter/Documents/maya/projects/Apache/sourceimages/lChassisReference.jpg //
// Warning: The -tx/texture flag is obsolete and will be removed in the next release. The -cuv/createUVs flag should be used instead. //
// Error: Nothing is currently selected. //


My Mel knowledge is at the moment of writing this message 4 hours and google is not providing the answers I want. Please help to fix these errors.



Peter.

Last edited by TriplePAF : 23-07-2010 at 11:35 PM.
TriplePAF is offline   Reply With Quote
Old 24-07-2010, 08:35 AM   #6
TriplePAF
Subscriber
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Talking

It's working. I modified especially the FileDialog command inside the refplanes script.

Bottom-point... This version should work with Maya 2011 and probable brakes with most earlier versions of Maya.



Peter.

Last edited by TriplePAF : 24-07-2010 at 10:31 PM.
TriplePAF is offline   Reply With Quote
Old 24-07-2010, 09:11 AM   #7
TriplePAF
Subscriber
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I made a mistake with the upload. Here is the file :p




Peter.
Attached Files
File Type: mel refplanes.mel (12.8 KB, 119 views)
TriplePAF is offline   Reply With Quote
The Following User Says Thank You to TriplePAF For This Useful Post:
ampted (06-08-2012)
Old 24-07-2010, 05:59 PM   #8
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,706
Thanks: 0
Thanked 85 Times in 77 Posts
Default

thank you it does indeed work
__________________


2 x Modeling Challenge Winner
jsprogg is offline   Reply With Quote
Old 25-07-2010, 08:41 AM   #9
TriplePAF
Subscriber
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

It looks that a lot of Mel scripts will brake with Maya 2011.


Thanks for your reply.





Peter.
TriplePAF is offline   Reply With Quote
Old 06-08-2012, 05:46 PM   #10
ampted
Subscriber
 
ampted's Avatar
 
Join Date: Dec 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Originally Posted by TriplePAF View Post
I made a mistake with the upload. Here is the file :p




Peter.
gona test it on maya 2012 64 bit tonight. hope it works
ampted is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.