getApplicationVersionAsFloat Issues

getApplicationVersionAsFloat Issues

Anonymous
Not applicable
684 Views
1 Reply
Message 1 of 2

getApplicationVersionAsFloat Issues

Anonymous
Not applicable

In Maya 2016 Ext 1 and 2 it appears that the mel command getApplicationVersionAsFloat is failing to return the correct values. In both of these version  getApplicationVersionAsFloat is returning the value 2016 while I would expect 2016.1 and 2016.5 respectively. It looks like what is going on is that it is just trying to cast the results from `about -v` to a float, and in these versions `about -v` is returning the string "2016 Ext 2".  Is this a known issue because it appears that this has happened previously (pre 2014)?

0 Likes
Accepted solutions (1)
685 Views
1 Reply
Reply (1)
Message 2 of 2

vijaya.prakash
Alumni
Alumni
Accepted solution

Yes, it is a known issue.

 

Both Maya 2016 Extension 1 and Maya 2016 Extension 2 returns just "2016" for "getApplicationVersionAsFloat" MEL command. It supposed to return major and minor version of Maya 2016.

0 Likes