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

Windchill returns wrong findNumber

nbojcetic
Regular Member

Windchill returns wrong findNumber

Hi all,

Recently I encountered a very strange Windchill behavior so I would appreciate if anyone can give me a suggestion what I did wrong. I got an assembly with three parts (part-001, part-002 and part-003) I added value for findNumber (in Windchill) attribute for every part (respectively 1, 2, 3) and then I checked in the assembly. After running the webject I got proper result (values for findNumber for the parts as given):

<ie:webject name="Query-Tree" type="OBJ">

<ie:param name="INSTANCE" data="<%=wtInstance%>"/>

<ie:param name="TYPE" data="wt.part.WTPartUsageLink"/>

<ie:param name="DIRECTION" data="uses"/>

<ie:param name="DEPTH" data="999"/>

<ie:param name="MODE" data="FLAT"/>

<ie:param name="OUTPUT_TYPE" data="OTHER_SIDE"/>

<ie:param name="AUTO_NAVIGATE" data="TRUE"/>

<ie:param name="SELECTEDBY" data="LATEST"/>

<ie:param name="OBJECT_REF" data="<%=obid%>"/>

<ie:param name="ATTRIBUTE" data="obid,name,number,usedFindNumber" delim=","/>

<ie:param name="GROUP_OUT" data="output"/>

</ie:webject>

Then I changed findNumber values a couple of times (checking in the assembly for every change), (last values were 11,12,13). Then I run the webject again and I was suppressed with the result, I did’t got findNumber values 11, 12, 13 but random value from previously added findNumer values.

I don’t know where the problem lies and what to do to get the right value (the last one) for the findNumber, please help.

17:49:15

Number

Name

usedFindNumber

  1. Ver./Iter.

0000000545

sklop-001

A12

0000000546

part-001

8
8
8
1
18
4
11
8

A1

0000000547

part-002

9
9
9
16
5
12
2
9

A1

0000000548

part-003

10
6
10
10
13
22
10
3

A1

Regards,

Nenad

Announcements