cmds.addAttr( longName='myMatrixAttr', attributeType='matrix' ) http://download.autodesk.com/global/docs/maya2013/en_us/CommandsPython/addAttr.html
You might be able to add it to a compound too. On 13 January 2014 09:05, Dilen Shah <[email protected]> wrote: > Hey guys, > > How would I create a matrix attribute which can hold input matrices? > > Thank you. > > Dilen. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/0ba6e4ff-cc5c-4230-8746-159de2294283%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- *Marcus Ottosson* [email protected] -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCSoo9Z6w87b4J2ZTQTN12MzifJLEL9Nzh40-kkV2845Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
