Hi Warpcat, according to my understanding, float2 and float3 just means 2 and 3 float values respectively, and nothing got to do with precision.
But I am still trying to understand the list of attributes present/not present in the addAttr command entry in the MEL command Reference of the Online Documentation.
I tried to add a new attribute in Attribute Editor using Attributes > Add Attributes... :
In the UI, these are my options=>
Attribute Name: test
Data Type: Vector
Attribute Type: Scalar
And this is what I got in the script editor:
addAttr -ln test -at double3 |obj;
addAttr -ln testX -at double -p test |obj;
addAttr -ln testY -at double -p test ||obj;
addAttr -ln testZ -at double -p test |obj;
Furthermore, in the Online Documentation, under MEL Command Reference. In the page for addAttr, there is no dataType/attributeType "vector". But there is double3.
So can I conclude that vector IS double3?
Next, I tried adding a "data type: float" IN THE UI, and in the script editor, a "-attributeType double" is displayed.
So any "float" value in the UI is a "double" value in MEL? What's the difference between double and float?
Looking at the attribute list under the addAttr command entry, there are some types that are either -dataType or -attributeType or both. I guess what I can do now is to take it as it is. But an explanation for the need to separate between an attributeType and a dataType is most definitely appreciated.