Maya crashing on simple script

Maya crashing on simple script

Anonymous
Not applicable
471 Views
5 Replies
Message 1 of 6

Maya crashing on simple script

Anonymous
Not applicable
-Start Maya.
-Create a Pipe primative.
-Ctrl + Right Click the RotateY value in the Channel Box and access the Expression Editor.
-Enter this code as the expression:


float $radius = 1;
float $distance = pPipe1.translateZ;
float $rotation = $distance / (2 * 3.142 * $radius) * 360;
pPipe1.rotateY = $rotation;


Hit "Create". Maya crashes every time. I have tried multiple times to completely remove Maya (and clearing the My Documents folders) and reinstall and I keep getting the same weird behavior.

Can anyone else reproduce this issue?
0 Likes
472 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Update:

I tried this same process on a different computer and it works fine, as it should. So there is something different about my main computer's Maya. Maya just crashes and closes without any error message.
0 Likes
Message 3 of 6

Anonymous
Not applicable
Update:

I think I have it traced it down to the 3DConnexion driver for my SpacePilot Pro. If I disable the driver within Maya, the Expression Editor works fine. But as soon as I enable the driver, I get the crashes. I have tested this multiple times now and it is very consistent. I will log a support request with 3DConnexion and see what they think.
0 Likes
Message 4 of 6

Anonymous
Not applicable
Hi, i got exactly the same problem with the 3DCONNEXION driver in maya. Did you solve the problem?
0 Likes
Message 5 of 6

Anonymous
Not applicable
I contacted 3DConnexion about it. I sent them all the information they asked for so I can only hope they're fixing it. That was on February 15, 2012. I sure hope they fix it!

If you want you can chime in on this thread:

http://www.3dconnexion.com/forum/viewtopic.php?t=4875
0 Likes
Message 6 of 6

Anonymous
Not applicable
Hi i found a little workaround and posted it on your topic on 3dconnexion.
If you go to the expression editor and change "Convert Units: All" to "Convert Units: None". All expressions are working with 3Dconnexion driver.
0 Likes