Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello,
I have been able to get a part structure using the following webject:
<ie:webject name="Query-Tree" type="OBJ">
<ie:param name="OBJECT_REF" data="<%=oid%>" />
<ie:param name="INSTANCE" data="<%=wtInstance%>"/>
<ie:param name="ATTRIBUTE" data="*" delim="," />
<ie:param name="DIRECTION" data="uses" />
<ie:param name="TYPE" data="wt.part.WTPartUsageLink" />
<ie:param name="SELECTBY_INCLUDE_WORKING" data="TRUE"/>
<ie:param name="SELECTBY" data="LATEST" />
<ie:param name="DEPTH" data="9999" />
<ie:param name="OUTPUT_TYPE" data="FULL" />
<ie:param name="GROUP_OUT" data="partlist" />
</ie:webject>
The next step is that I want to get to the drawings related to the parts in the group "partlist".
How can I achieve this ?
gr. Christiaan
This is the piece of code need (change GROUP_IN "listaParti" with your "partlist") - Sorry for italian comments
Regards,
Vittorio
<!--
***********************************************************************
* DISEGNI Trova i link (describeBy )- ovvero drawing di ogni parte della distinta
***********************************************************************-->
<ie:webject name="Query-Links" type="OBJ">
<ie:param name="INSTANCE" data="<%=wcAdapter%>"/>
<ie:param name="AUTHORIZATION" data="${@server[]authorization[0]}"/>
<ie:param name="TYPE" data="wt.epm.structure.EPMDescribeLink"/>
<ie:param name="CONTAINER_REF" data="<%= containerId %>"/>
<ie:param name="GROUP_IN" data="listaParti"/>
<ie:param name="DIRECTION" data="describedBy"/>
<ie:param name="AUTO_NAVIGATE" data="false"/>
<!--
<ie:param name="ATTRIBUTE" data="iterationInfo.latest,describes,number,name,CADName,obid,revision,iteration,thePersistInfo.modifyStamp,IBA|COD_CICLO,IBA|FASE" delim=","/> -->
<ie:param name="ATTRIBUTE" data="iterationInfo.latest,describes,number,name,CADName,obid,version,iteration,COD_CICLO" delim=","/>
<ie:param name="OUTPUT_TYPE" data="FULL"/>
<ie:param name="GROUP_OUT" data="Links"/>
</ie:webject>
<!-- Workaround PTC rinominato anch il GROUP_OUT precedente <ie:param name="GROUP_OUT" data="disegniParti"/> -->
<ie:webject name="Subset-Group" type="GRP">
<ie:param name="GROUP_IN" data="Links"/>
<ie:param name="FILTER" data="iterationInfo.latest='true'"/>
<ie:param name="FILTER_MODE" data="MATCH"/>
<ie:param name="CASE_IGNORE" data="TRUE"/>
<ie:param name="CLASS" data="MATCHEDITEMS"/>
<ie:param name="GROUP_OUT" data="disegniParti"/>
</ie:webject>