cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

NidhiChouhan
6-Contributor

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

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

1 ACCEPTED SOLUTION

Accepted Solutions

2 REPLIES 2

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

 

thanks,

Patrick

Top Tags