I've been playing around with attributes using the API and can't figure out 
how to determine the data types that a generic attribute accepts 
(specifically in this case a renderLayer's adjustment.value attribute).

MFnGenericAttribute has add/removeAccept methods (and their variants) but 
no way of querying an existing attribute. I see that MDataHandle has a 
function for listing acceptedTypeIds, but I don't know how (or if it's 
possible) to use that outside of a plugin. I'm assuming this it's possible 
to get this info? Any tips?

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to