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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Listing all EPMDocument x part numbers

GZ_11364733
7-Bedrock

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.

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!
Announcements

Top Tags