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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

How to get all baselines for all iterations of specific WTPart?

MaciejGrodzki
9-Granite

How to get all baselines for all iterations of specific WTPart?


Hello everyone.

I'm trying to get all baselines in which the specific WTPart is used. My very raw version of webject looks like:

<ie:webject name="Query-Links" type="OBJ">
<ie:param name="INSTANCE" data="windchill"/">
<ie:param name="OBJECT_REF" data="VR:wt.part.WTPart:8516"/">
<ie:param name="DIRECTION" data="uses"/">
<ie:param name="TYPE" data="wt.vc.baseline.BaselineMember"/">
<ie:param name="OUTPUT_TYPE" data="FULL"/">
<ie:param name="GROUP_OUT" data="baselines"/">
<ie:param name="DBUSER" data="wcadmin"/">
<ie:param name="PASSWD" data="is_a_secret"/">
<ie:param name="AUTO_NAVIGATE" data="TRUE"/">
</ie:webject>

This webject gives me list of baselines which are associated with only the specific iteration of part (it is obvious because the specific OBJECT_REF is given). How I can get all baselines in which WTPart is used despite of part iterations?

Sory for my english and thanks in advance.
2 REPLIES 2

Maciej,

I know how to do this with a report from the report manager (attached file), you couldexecute itas awebject

To do it with the report manager, you might also query the masterpart for the set of versions/iteration, then do a query tree, which can take a group of object IDs as input,the resulting tree woul only have a depth of one.

HTH,

Vincent



In Reply to Maciej Grodzki:


Hello everyone.

I'm trying to get all baselines in which the specific WTPart is used. My very raw version of webject looks like:

<ie:webject name="Query-Links" type="OBJ">
<ie:param name="INSTANCE" data="windchill"/">
<ie:param name="OBJECT_REF" data="VR:wt.part.WTPart:8516"/">
<ie:param name="DIRECTION" data="uses"/">
<ie:param name="TYPE" data="wt.vc.baseline.BaselineMember"/">
<ie:param name="OUTPUT_TYPE" data="FULL"/">
<ie:param name="GROUP_OUT" data="baselines"/">
<ie:param name="DBUSER" data="wcadmin"/">
<ie:param name="PASSWD" data="is_a_secret"/">
<ie:param name="AUTO_NAVIGATE" data="TRUE"/">
</ie:webject>

This webject gives me list of baselines which are associated with only the specific iteration of part (it is obvious because the specific OBJECT_REF is given). How I can get all baselines in which WTPart is used despite of part iterations?

Sory for my english and thanks in advance.

Try changing the direction to be Baseline.


<ie:webject name="Query-Links" type="OBJ">
<ieSmiley Tonguearam name="INSTANCE" data="windchill"/">
<ieSmiley Tonguearam name="OBJECT_REF" data="VR:wt.part.WTPart:8516"/">
<ieSmiley Tonguearam name="DIRECTION" data="Baseline"/">
<ieSmiley Tonguearam name="TYPE" data="wt.vc.baseline.BaselineMember"/">
<ieSmiley Tonguearam name="OUTPUT_TYPE" data="FULL"/">
<ieSmiley Tonguearam name="GROUP_OUT" data="baselines"/">
<ieSmiley Tonguearam name="DBUSER" data="wcadmin"/">
<ieSmiley Tonguearam name="PASSWD" data="is_a_secret"/">
<ieSmiley Tonguearam name="AUTO_NAVIGATE" data="TRUE"/">
</ie:webject>


Jim Van Dragt
Information Technology
Herman Miller Inc.
616.654.5285 - Office
616.836.8394 - Cell





"Vincent Quesnoit" <vincent.quesnoit@bull.net>

08/21/2009 03:47 AM To
-
cc
Please respond to
"Vincent Quesnoit" <vincent.quesnoit@bull.net> Subject
[solutions] - RE: How to get all baselines for all iterations of specific WTPart?










Maciej,


I know how to do this with a report from the report manager (attached file), you could execute it as a webject


To do it with the report manager, you might also query the masterpart for the set of versions/iteration, then do a query tree, which can take a group of object IDs as input, the resulting tree woul
only have a depth of one.


HTH,


Vincent




In Reply to Maciej Grodzki:



Hello everyone.

I'm trying to get all baselines in which the specific WTPart is used. My very raw version of webject looks like:

<ie:webject name="Query-Links" type="OBJ">
<ieSmiley Tonguearam name="INSTANCE" data="windchill"/">
<ieSmiley Tonguearam name="OBJECT_REF" data="VR:wt.part.WTPart:8516"/">
<ieSmiley Tonguearam name="DIRECTION" data="uses"/">
<ieSmiley Tonguearam name="TYPE" data="wt.vc.baseline.BaselineMember"/">
<ieSmiley Tonguearam name="OUTPUT_TYPE" data="FULL"/">
<ieSmiley Tonguearam name="GROUP_OUT" data="baselines"/">
<ieSmiley Tonguearam name="DBUSER" data="wcadmin"/">
<ieSmiley Tonguearam name="PASSWD" data="is_a_secret"/">
<ieSmiley Tonguearam name="AUTO_NAVIGATE" data="TRUE"/">
</ie:webject>

This webject gives me list of baselines which are associated with only the specific iteration of part (it is obvious because the specific OBJECT_REF is given). How I can get all baselines in
which WTPart is used despite of part iterations?

Sory for my english and thanks in advance.
Announcements


Top Tags