PDA

View Full Version : Maya Gems script dynFuncBoundary.mel doesn't work


McMaster
03-06-2003, 03:51 PM
Hi!
I'm trying to get familiar with mel, and I found the Maya Gems scripts in ...maya45/docs/en_US/html/UserGuide/Mel/MayaGemsIntro3.html#179577
I've tried to copy-paste them into scripteditor, but the dynFuncBoundary aswell as the dynFuncExplosion.mel doesn't work, but I don't know why?
The Output I get is:
dynFuncBoundary;
// Error: float $startTime = 'timerX'; //
// Error: Syntax error //
// Error: float $elapsed = 'timerX -st $startTime'; //
// Error: Syntax error //

I tried to search the Mel Command Reference, but I can't find the error in the scripts?!?

McMaster
03-10-2003, 10:40 AM
Come on, there must be someone out there, who can help me?!?

mark_wilkins
03-10-2003, 10:54 AM
Works for me:

Things that might be going on:

The comments (the lines beginning with //) may be word wrapping so that some of the comment text is on a line by itself? This would screw up the script.

Something about your web browser might be causing the backticks ` to be converted to apostrophes ', which would break the script.

A semicolon might have gone missing somewhere?

Copying and pasting these scripts out of the documentation works for me, but I'm on 4.0. I'll try it on 4.5 at work tomorrow.

-- Mark

mark_wilkins
03-10-2003, 10:55 AM
Ooh, I notice that in your quoted error text, what should have been backticks (``) actually were apostrophes ('').

This may be a problem with the 4.5 manual formatting or it may be something your web browser is doing to the text.

-- Mark

CGTalk Moderation
01-14-2006, 02:00 PM
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.