Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Autodesk Maya 2008 / Error: "Cannot use data of type in a scalar operation."
  RSS 2.0 ATOM  

Error: "Cannot use data of type in a scalar operation."
Rate this thread
 
20686
 
Permlink of this thread   Subscribe to this thread
avatar
  • faucheux
  • Posted: 24 December 2008 12:46 AM
  • Total Posts: 23
  • Joined: 07 February 2008 07:44 PM

I am unable to view my Render Settings when I try to access from the main menu.
I have a camera animating in a straight line. the camera has a sky environment.
I am using Maya 2008 with a Mac Quad Core and 8 Gigs of Ram. I am using the current Mac system.

Here is the error I am getting: Cannot use data of type in a scalar operation.

Does anyone have an idea what this error is telling me?
Thanks,
Faucheux



Replies: 1
/img/forum/dark/default_avatar.png

Just had this problem again its not prefs.

Kept getting this error when switching the render globals to Mental Ray:
// Error: Cannot use data of type no type in a scalar operation. //

Here’s what worked for me:

1) Create a new .ma scene file with some lights in it. (For some reason an empty maya file will NOT work.)
2) Turn on the Mayatomr.bundle plug-in.
3) Toggle render globals button and set to Mental Ray.
4) Import the busted scene file and save out a new .ma scene file (I’ve been saving out with the render global window open.)

After that everything seems solid again. Don’t know why having lights in the original file seems to be the magic bullet, but it works again.

Author: Griff

Replied: 17 October 2009 03:29 PM  
avatar
  • warnold
  • Posted: 24 December 2008 01:18 AM

There is a conversion error in the Mel code that is trying to do something.

In the script editor, turn on the option to display line number info for errors.  will then give you the file and line number that is causing the problem, from that you will have a better idea of what is going on.

Script Editor->History->Line numbers in errors

Did you start with default prefs ?



Replies: 0




   
  Settings Choose Theme color: