hexagon logo

[2023.2 SP3] Looping breaks evaluations using child ITEMS[]?

Program uses cylinders measured as concentric circles.
Roundness evaluation is done on the circles in the cylinders (child items).
This works fine when running one execution, but doesn't work when looping several iterations, instead they all share the exact same result:

The total runout is two separate planes so no issues there, but the circles from the two cylinders (CYLVÄ75 & CYLHÖ75) share the same roundness result per circle in the cylinder.

Opening the program after a looped run and no values:

Example of a single run (no looping):

Any ideas how to make the ITEMS[] work when looping? Are the ITEMS[] clashing with the loop counter [x]?

Parents Reply
  • The ITEM refers to the child items in that feature. For a cylinder that has been measured using concentric circles, the ITEM[Circle0] refers to Circle0 which was measured to construct the cylinder. In the examples above, I measure a cylinder using a total of four concentric circles (ITEM[Circle0] to ITEM[Circle3]). These ITEMS is what the cylinder consist of.

Children
No Data