Hello all,
I have another interesting problem/ bug I am running into.
I am trying to create a double3 attribute. If I do it like this:
# create simple test object
myObject= sphere()[0]
# create compound
myObject.addAttr('objectRotate', niceName = 'objectRotate', attributeType = 'double3')
# add attrs to compound
myObject.addAttr('objectRotateX', attributeType = 'doubleAngle', parent= 'objectRotate')
myObject.addAttr('objectRotateY', attributeType = 'doubleAngle', parent= 'objectRotate')
myObject.addAttr('objectRotateZ', attributeType = 'doubleAngle', parent= 'objectRotate')
Everything is fine and the attributes nicely show up in the Extra attributes section.
However if i put another regular compound above it (to nicely group it ect) then the "control boxes" do not show up.
Only the attribute name "objectRotate" is visible in the extra attributes.
I think this is a Maya 2011(hot fix 3) bug but it could also by my logic that is failing me again 
#create simple test object
myObject = sphere()[0]
# create root compound
myObject.addAttr('element', attributeType = 'compound', numberOfChildren = 1)
# create rotation compound and parent it
myObject.addAttr('objectRotate', niceName = 'objectRotate', attributeType = 'double3', parent= 'element')
# add attributes to compound
myObject.addAttr('objectRotateX', attributeType = 'doubleAngle', parent= 'objectRotate')
myObject.addAttr('objectRotateY', attributeType = 'doubleAngle', parent= 'objectRotate')
myObject.addAttr('objectRotateZ', attributeType = 'doubleAngle', parent= 'objectRotate')
The strangest thing is that if i use a "float3" (with float attributes) instead of a "double3" then everything is fine.
(well not exactly, if i first try to create a "double3" and afterwards try to do exactly te same but with a "float3" maya gives me an error saying:
# Error: file: C:/Program Files/Autodesk/Maya2011/scripts/AETemplates/AEreplaceVector.mel line 44: Object 'MayaWindow|MainAttributeEditorLayout|formLayout2|AEmenuBarLayout|AErootLayout|AErootLayoutPane|AEbaseFormLayout|AEcontrolFormLayout|AttrEdtransformFormLayout|scrollLayout2|columnLayout31|frameLayout24|columnLayout39|frameLayout25|columnLayout40|rowLayout8' not found. # )
So my guess is that there is definitly something wrong there.
Any ideas or suggestions on how to solve this would be most appriciated.
Thanks
Jan