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

infoengine query related CAD documents

infoengine query related CAD documents

Hello,

I have been able to get a part structure using the following webject:

<ie:webject name="Query-Tree" type="OBJ">
<ieSmiley Tonguearam name="OBJECT_REF" data="<%=oid%>" />
<ieSmiley Tonguearam name="INSTANCE" data="<%=wtInstance%>"/>
<ieSmiley Tonguearam name="ATTRIBUTE" data="*" delim="," />
<ieSmiley Tonguearam name="DIRECTION" data="uses" />
<ieSmiley Tonguearam name="TYPE" data="wt.part.WTPartUsageLink" />
<ieSmiley Tonguearam name="SELECTBY_INCLUDE_WORKING" data="TRUE"/>
<ieSmiley Tonguearam name="SELECTBY" data="LATEST" />
<ieSmiley Tonguearam name="DEPTH" data="9999" />
<ieSmiley Tonguearam name="OUTPUT_TYPE" data="FULL" />
<ieSmiley Tonguearam 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

Tags (2)
1 REPLY 1

Re: infoengine query related CAD documents

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">
<ieSmiley Tonguearam name="INSTANCE" data="<%=wcAdapter%>"/>
<ieSmiley Tonguearam name="AUTHORIZATION" data="${@server[]authorization[0]}"/>
<ieSmiley Tonguearam name="TYPE" data="wt.epm.structure.EPMDescribeLink"/>
<ieSmiley Tonguearam name="CONTAINER_REF" data="<%= containerId %>"/>
<ieSmiley Tonguearam name="GROUP_IN" data="listaParti"/>
<ieSmiley Tonguearam name="DIRECTION" data="describedBy"/>
<ieSmiley Tonguearam name="AUTO_NAVIGATE" data="false"/>
<!--
<ieSmiley Tonguearam name="ATTRIBUTE" data="iterationInfo.latest,describes,number,name,CADName,obid,revision,iteration,thePersistInfo.modifyStamp,IBA|COD_CICLO,IBA|FASE" delim=","/> -->
<ieSmiley Tonguearam name="ATTRIBUTE" data="iterationInfo.latest,describes,number,name,CADName,obid,version,iteration,COD_CICLO" delim=","/>
<ieSmiley Tonguearam name="OUTPUT_TYPE" data="FULL"/>
<ieSmiley Tonguearam name="GROUP_OUT" data="Links"/>
</ie:webject>
<!-- Workaround PTC rinominato anch il GROUP_OUT precedente <ieSmiley Tonguearam name="GROUP_OUT" data="disegniParti"/> -->
<ie:webject name="Subset-Group" type="GRP">
<ieSmiley Tonguearam name="GROUP_IN" data="Links"/>
<ieSmiley Tonguearam name="FILTER" data="iterationInfo.latest='true'"/>
<ieSmiley Tonguearam name="FILTER_MODE" data="MATCH"/>
<ieSmiley Tonguearam name="CASE_IGNORE" data="TRUE"/>
<ieSmiley Tonguearam name="CLASS" data="MATCHEDITEMS"/>
<ieSmiley Tonguearam name="GROUP_OUT" data="disegniParti"/>
</ie:webject>