If I'm looping through an Arnold iterator object, is there a way to get the index of the object I'm currently operating on? Or do I need to track a separate variable like this:
int index = 0;
while (AiOutputIteratorGetNext(iterator, NULL, NULL, NULL))
{
// Do some work, then
index++;
}