PDA

View Full Version : Namespace & Expression Problems


Fess
06-27-2008, 10:44 PM
Hello,


I'm doing an excerise for school, its a script that creates a duck (geometry, transform, delete history, freeze transforms, creates groups for animation).

Problem is, a expression in my script is not working becasue the duck script uses namespaces (required).

Expression rotates a police style beacon light:

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//BeaconPivot group expression
//expression -s (BeaconPivot.rotateY" = time * 350);
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

With the namespace issue, it gives me this error:


ine 462.53: Invalid use of Maya object "BeaconPivot.rotateY".



script is attached, simply source it:


Any help is appreciated...
Fess

tbaypaul
06-28-2008, 01:34 AM
you've got a single stray quote in there........

CGTalk Moderation
06-28-2008, 01:34 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.