i've written a custom node and a corresponding MPxCommand, witch can create spezial arrayattributes in this node. Unfortunately, i have to write a "undo" function where i have to clear the hole data array. But there is no function in the MPlug or MFnDependencyNode class, where i can delete a special element in this array. I think, the probleme is very close to this:
But the removeMultiInstance doesn't work in my case, using MGlobal::executeCommand, cause just the first executeCommand function will be evaluate so just one element can be deleleted, but i want clear the hole array.
Has anybody found a workaround for my problem.
Thanks for all the help