clear ArrayAttribute in Node trough API MPxCommand

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  11 November 2006
clear ArrayAttribute in Node trough API MPxCommand

Hallo,

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:

http://www.alias.com/glb/eng/suppor...ya&itemId=3297+

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

flaiver
 
  11 November 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:38 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.