Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 07-02-2005 , 04:47 PM
Velusion's Avatar
Registered User
Join Date: May 2004
Location: Utah, USA
Posts: 369

MEL TRON

I'm looking for a way to step through a MEL script, line by line, so I can debug when necessary. Is there a way? Also, when the script editor tells you that there is a problem with a specific line of code it really doesn't mean much since the script doesn't have line numbers running down the side. is there a way to number each line of the script so that if there is a problem with line 107, you don't have to start at the first line of the script and count down?

# 2 07-02-2005 , 04:58 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
get a decent text editor user added image I use nedit on linux and it's much better. Because if your script crashes maya (which it will trist me!) and you haven't saved your script you can kiss it goodbye forever! I always work in a separate app and then source it in before I run it each time.

Also you can't really step through, the best you can do is put a whole bunch of prints in there!

Welcome to the world of MEL it's a world of pain believe me!! user added image

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads