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

Listing all EPMDocument x part numbers

GZ_11364733
2-Guest

Listing all EPMDocument x part numbers

Version: Windchill 13.0

 

Use Case: I've created a first version of a project that uses the Windchill API to export a .pdf file from a .drw using this URI: /Windchill/servlet/odata/v3/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:201731655')/Representations EPMDocument:201731655 was known previously.


Description:

Is there a way to retrieve a list of all EPMDocument (only .drw ones) versus Drawing Numbers? I am asking it because I need to generate .pdfs from .dwgs in batches.

1 ACCEPTED SOLUTION

Accepted Solutions

I've got a solution (dunno if it's the smartest one but...)

/Windchill/servlet/odata/v3/CADDocumentMgmt/CADDocuments?$filter=endswith(Number,'.drw') solved it for me!

View solution in original post

1 REPLY 1

I've got a solution (dunno if it's the smartest one but...)

/Windchill/servlet/odata/v3/CADDocumentMgmt/CADDocuments?$filter=endswith(Number,'.drw') solved it for me!
Top Tags