PDA

View Full Version : Frame No. display in PlayBlasts


rubery
02-10-2003, 03:27 PM
Hello,

Has anyone had any luck running the following mel script for displaying the frame No. when playblasting in Maya:

http://www.highend3d.com/maya/mel/?section=animation#2008

I keep getting 'Error: "$loc" is an undeclared variable.' every time i try to run it.

Its something I would really like to get working so if anyome has got it working of has something else that will work I would be very greatful for a reply.

BTW, the guy's e-mail address who wrote it dosen't work.

Cheers chris........

dwalden74
02-10-2003, 03:46 PM
Use this on a shelf:

if (!`headsUpDisplay -exists HUDframeDisp`)
{
headsUpDisplay
-section 9 -block 7 -blockSize "medium"
-label "frame:"
-labelFontSize "small"
-command "currentTime -q;"
-atr
HUDframeDisp;
}
else
headsUpDisplay -rem HUDframeDisp;


:beer:
David

rubery
02-10-2003, 04:03 PM
Thankyou very much, thats a great help.

Chris.......

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