I have some SQL... Does this help?
I am actually working on this SQL right now. I want to modify it to get all instances if epm.cadname is a generic. Since I've exposed this code to the rest of you, feel free to give me ideas! 🙂
--For CAD Documents Representation get the Physical Content
select
ad.filename "Actual File Name",
AD.ROLE,
ad.filesize "File Size",
fvm.path "Vault Path",
to_char (fv.UNIQUESEQUENCENUMBER, '0000000000000X') "Vault File Name",
edm.cadname "Cad File Name",
edm.name "Name",
edm.documentnumber "Number",
ed.versionida2versioninfo "Revision",
ed.iterationida2iterationinfo "Iteration",
-- di.cadpartname,
di.defaultrepresentation "Default Representation",
di.name "Visualization Name"
from
epmdocument ed,
derivedimage di,
holdertocontent htc,
applicationdata ad,
epmdocumentmaster edm,
fvitem fv,
fvfolder fvf,
fvmount fvm
where
fv.ida2a2 = ad.ida3a5
and fvf.ida2a2= fv.ida3a4
and fvm.ida3a5= fvf.ida2a2
and ad.ida2a2 = htc.ida3b5
and di.ida2a2 = htc.ida3a5
and ed.ida2a2 = di.ida3a6
and ed.ida3masterreference = edm.ida2a2
-- and di.defaultrepresentation = 1 --Uncomment to return only default representations
and (edm.cadname like '09-p9999.prt' OR edm.cadname like '09-p.prt')--Uncomment to return specific cad file name
and ed.LATESTITERATIONINFO=1
-- and ad.filename like '%plt' --Uncomment to search for specific file extension (.plt for drawing and pvs for 3d)
order by
edm.cadname,
ed.versionida2versioninfo,
ed.iterationida2iterationinfo,
ad.filesize