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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Translate the entire conversation x

Workflow Code to get ProE drawing's model

dgraham-4
1-Visitor

Workflow Code to get ProE drawing's model

Given a proe drawing I need to get the drawings model.

Anyone have the code to do this?

Thanks in advance,

David Graham
2 REPLIES 2

Try this service

EPMStructureHelper.service



result=EPMStructureHelper.service.navigateReferencedBy((DocumentMaster)c
adDoc.getMaster(),null,true);

while(result.hasMoreElements())

{

Object o=result.nextElement();

if (o instanceof EPMDocument)

{

cadDoc=(EPMDocument)o;

if (verbose)

System.out.println("Getting Drawing - " +
cadDoc.getCADName());

if
(cadDoc.getDocType().getStringValue().equals("wt.epm.EPMDocumentType.CAD
DRAWING"))

{


Announcements
Top Tags