Thank you TomBr and declanr! Both of these were helpful to me.
Tom -- appreciate the quick response and solution.
declanr -- I appreciate the succinct summation of the default behavior and remedy. I have not been settled in my mind about this issue, so your statement is helpful
So as a follow-on: if i want to loop through a Subset1 that consists of a combination of N elements and some C elements, to create an exploded view subset (Subset2) that has all the N elements in Subset1, what is the technique? The element count of Subset1 is 8, but it comprises 20 N elements when the C elements are exlploded (so 20 will be the size of Subset2).
Code: Select all
iCtr = 1;
While( iCtr <= SubsetGetSize(vDimName, Subset1);
vElem = SubsetGetElementName(vDimName, Subset2 , iCtr);
If(DType(vDim, vElem) = 'N'):
SubsetElementInsert(vDimName, Subset2 , 1);
iCtr = iCtr + 1;
The issue as I see it right now is that the size of Subset1 is 8 elements, not 20, so I am thus not getting them all. So how do I pull out the N-level detail to form the Subset2?
Appreciate any feedback!