Hi all, So I have a custom data type that I create in cpp that I use for an attribute on a custom node. My custom data type is pretty straight forward: class BlindData : public MPxData {
public: BlindData(); virtual ~BlindData(); /** * Copy the local data from a similar data object * * @param MPxData * Data object to copy from. */ virtual void copy(const MPxData&); MStatus readBinary(istream& in, unsigned int length); MStatus writeBinary(ostream& out); MTypeId typeId() const; MString name() const; static MString typeName; static MTypeId id; static void* creator(); std::vector<char> m_data; }; And then I just use that as a type for my attr on my node MFnTypedAttribute tAttr; MStatus stat; blindDataAttr = tAttr.create("blindData", "blind", BlindData::id, MObject::kNullObj, &stat); addAttribute(mPoseDataList); So now I want to set that in Python, but I'm not sure how too. Anyone run into this before? -- 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/3262f210-7b6e-4a01-a9fe-fb238dd43a19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.