Returns the zero-based index during an iteration of objects triggered by a "Loop while included". If no origin is specified, the index of the closest loop is returned in case of nested loops.
int ActiveLoopIndex([int origin])
origin |
Optional number specifying the origin of the loop while included. Report = 0, Bill of Materials = 1, Graphics = 2, Code = 3 |