Tag Archives: maya

Maya: License was not obtained, the solutions

For some reasons, e.g. the computer suddenly powered off during maya activation, or you killed maya in brute force during the activation, you are likely to encounter this error: “License was not obtained ….”


No matter you uninstall, reinstall any times, the same problem persists. One of, though not 100% working solution for most cases, is to delete the corrupted licensing data out of your computer. Here is how:

Read the rest of this entry »

1 Comment

Posted by on November 10, 2014 in CAD


Tags: , , , , , , , , , , , , ,

Getting maya path programmatically: Python and C# Code

In automating maya to do some custom job, the maya installation folder is usually needed. Though one can hard code this as, for example, path=”C:\\Program Files\\Autodesk\\Maya2014\\”, this is not the best way as users may not install maya to the default directory.

To extract the maya installation folder, one can use registry in windows platform, as shown below:


Given this fact, it is not very hard to get the maya root folder, either in Python or C#:

Read the rest of this entry »

Leave a comment

Posted by on August 17, 2013 in CAD, Python


Tags: , , ,