I suspect you can't even have an store a MObject inside an attribute. You can see valid attribute types with MfnAttribute inheritance: https://download.autodesk.com/us/maya/2009help/API/class_m_fn_attribute.html
MFnTypedAttribute can store more data types : https://download.autodesk.com/us/maya/2009help/API/class_m_fn_data.html#0a93116ffc8d36da8c86efe46b9a8e9d But no MObject directly. Le mardi 22 février 2022 à 06:22:50 UTC+1, email...@gmail.com a écrit : > hi, How can I have an attribute in which I put a MObjectArray as output(in > my Special node)? > (c++ Api) > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5212feac-c9c0-41a0-a36f-a886a41c09bcn%40googlegroups.com.