Wondered if it is possible to write PLMXML to export all PDF datasets held in a Doc Item that are referenced in References pseudo folder within an Item, all Items would exist in a folder so I would want to select just the folder and have PLMXML traverse all Items in the folder to export the PDF's.
Have attached an image and highlighted the referenced Doc Items, these could be copied in as Item or Item revision.
If anyone has any advice suggestions or can give me a start with existing PLMXML they have done that would be great.
Take a look at ConfiguredDataFilesExportDefault transfer mode because it exports files. Find the lines containing ImanFile, these will show you how the files are treated.
You should use Type: PDF:Class:ImanFile instead of Class: Dataset:Class:ImanFile since you don't need to export all available datasets.
You should also add lines containing references from ItemRevision to Item or ItemRevision through the Reference property.
Did it worked out for you?
If so can please tell me how did you modified the closure rule exactly?
Here is the closure rule i use for exporting only solid edge objects from a folder.
If you want to export only pdf change the relation in the 5th line to the relation that your pdfs are linked to the item revision and than at line 6 change the Primary Object to PDF.
Also remove line 7 and 8 and you should be fine.
Hope it helps you, good luck.