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

We are happy to announce the new Windchill Customization board! Learn more.

How to use Info*Engine to get all the drw objects?

VladiSlav
17-Peridot

How to use Info*Engine to get all the drw objects?

Hello, please tell me how to use Info*Engine to get all the drw objects?
I found a way to get the entire WTPart tree.
But I can't get the drw

<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie" %>
<%@ page contentType="text/html;charset=utf-8" %>

<ie:webject name="Get-Properties" type="MGT">
    <ie:param name="ATTRIBUTE" data="wt.federation.ie.VMName"/>
    <ie:param name="GROUP_OUT" data="properties"/>
</ie:webject>

<html>
<head>
</head>
<body>

<ie:webject name="Search-Objects" type="OBJ">
    <ie:param name="instance" data="$(properties[0]wt.federation.ie.VMName[0])"/>
    <ie:param name="type" data="WCTYPE|wt.part.WTPart"/>
    <ie:param name="where" data="(number='НМЕА.305369.013-01')"/>
    <ie:param name="attribute" data="name,obid" delim=","/>
    <ie:param name="VERSION" data="LATEST"/>
    <ie:param name="ITERATION" data="LATEST"/>
    <ie:param name="group_out" data="anObjects"/>
</ie:webject>

<ie:webject name="Query-Tree" type="OBJ">
    <ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])"/>
    <ie:param name="TYPE" data="wt.part.WTPartUsageLink"/>
    <ie:param name="GROUP_IN" data="anObjects"/>
    <ie:param name="WHERE" data="number='*'"/>
    <ie:param name="DIRECTION" data="uses"/>
    <ie:param name="DEPTH" data="10"/> <!-- Уровень вложенности -->
    <ie:param name="ATTRIBUTE" data="number,name" delim=","/>
    <ie:param name="GROUP_OUT" data="output"/>
</ie:webject>

<ie:webject name="Display-Table" type="DSP">
    <ie:param name="BORDER" data="1"/>
    <ie:param name="GROUP_IN" data="output"/>
    <ie:param name="ATTRIBUTE" data="number,name" delim=","/>
    <ie:param name="HEADER" data="Number,Name" delim=","/>
    <ie:param name="TITLE" data="Display-Table"/>
</ie:webject>

</body>
</html>
0 REPLIES 0
Top Tags