Hi everybody,
I am trying to get information about creo drawing object (in WIndchill 10.1) and I hit the wall. So far I was able to get information about creo drawing using "Query-Links" webject, and it looked fine, at first, but. The creo part is a part of a assembly and assembly also has a drawing so instead of getting one I got to drawing objects.
<ie:webject name="Query-Links" type="OBJ">
<ie:param name="INSTANCE" data="<%=wtInstance%>"/>
<ie:param name="TYPE" data="wt.epm.structure.EPMReferenceLink"/>
<ie:param name="DIRECTION" data="referencedBy"/>
<ie:param name="OBJECT_REF" data="VR:wt.epm.EPMDocument:162399"/>
<ie:param name="AUTO_NAVIGATE" data="TRUE"/>
<ie:param name="SELECTEDBY" data="LATEST"/>
<ie:param name="OUTPUT_TYPE" data="FULL"/>
<ie:param name="ATTRIBUTE" data="number,name" delim=","/>
<ie:param name="GROUP_OUT" data="output"/>
</ie:webject>
I also tried bunch of other different link types (EPMDerivedRepRule, EPMDerivedRepRule, EPMDescribeLink, ...) but with out result. I stumble on the peace of text in the one of Windchill manuals that say "An association between a part and the engineering drawing derived from its owner-associated CAD model is automatically created upon initial upload. This association is labeled Calculated, and is not a modeled “link” in the database, but is an included association type when CAD documents are collected for actions."
So if anybody can give me advice or point to right direction what is "the name" of calculated link so it can be used in webject (or this can't be done) or is there any other way to get reference to drawing of particular creo part.
Thanks!