I am writing a defoemer in maya API.
I have an array of objects and I want to have an iterator for each one of the objects.
I used the MArrayDataHandle, then I jumped to the element and created a MDataHandle of that element. now I wont to create an iterator for this element and the repeat again for all the elements bet Its not working :(
this is the code:
MArrayDataHandle handle = block.inputArrayValue( geomObject, &returnStatus );
if ( MS::kSuccess != returnStatus )