gangslab
7/3/2019 - 8:50 AM

[Maya Python] add vectorArray attribute

typedAttr = OpenMaya.MFnTypedAttribute()
Node.outPositionArray = typedAttr.create("outPositionArray", "op", OpenMaya.MFnData.kVectorArray, OpenMaya.MFnVectorArrayData().create())
typedAttr.setWritable(False)
typedAttr.setStorable(False)
typedAttr.setReadable(True)
typedAttr.setConnectable(True)