Skip to main content
1-Visitor
February 11, 2022
Solved

Windchill Modeler Reviewer-items.Count is giving the final count before completing the above loops.

  • February 11, 2022
  • 1 reply
  • 1781 views

I am  trying to create a User Defined review where I am extracting the Blocks having custom stereotype ("testStereotype") applied, which is working fine but I also want the final count (In Reviewer "Out of" Count) of all the available Block, for which I am using .itemCount as shown in attached image. It looks like the items.Count is giving the count for first value of 'var' instead of letting the loops complete and giving the count. Please let me know if someone can help on this. itemCount_Reviewer.PNG

Out of.PNG

@PatrickOllerton

Best answer by VladimirN

"Open a Support Case": https://www.ptc.com/en/support/case-logger 

1 reply

16-Pearl
February 13, 2022

I'd suggest you raise with PTC Support to check if this is a bug.

 

thanks,

Patrick

VladimirN24-Ruby IIIAnswer
24-Ruby III
February 14, 2022