Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 05-04-2013 , 10:28 AM
Registered User
Join Date: Apr 2013
Posts: 2

Syntax error help

Hi Im new to maya and i am righting a script I found online for a tank i am building but I get a syntax error on line 5.35 which i cant get rid of any help would be great thanks. This is the script.

float $RightTrackZ = RightTrack_Control.translateZ;
float $RightCurveLength = curveInfo1.arcLength;

float $RightTrackPos = $RightTrackZ / (2 * 3.14 * $RightCurveLength) * 360;

motionPath1.uValue = $RightTrackPos;

# 2 05-04-2013 , 10:30 AM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
What is the error you are getting...........dave




Avatar Challenge Winner 2010
# 3 05-04-2013 , 10:33 AM
Registered User
Join Date: Apr 2013
Posts: 2
thanks for the reply it just fixed it self i was taking to long to right it and a attribute i had attached to the treads was manically vanishing while i was righting the script had to add it again just before clicking on create button. very strange and confusing. thanks any way:

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