Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to Get Physical Vault File size for each iterated CAD Document in a particular lifecycle state on each Product containter

$
0
0

I think there is a command line tool that can be leveraged, but I usually prefer SQL query.  The key is joining the EPMDocument table to the ApplicationData table.

 

Is something like this sufficient for the information you're looking for?

 

select  edm.cadname,  ed.versionida2versioninfo as rev,  ed.iterationida2iterationinfo as iter,  (ad.filesize/1024) as filesize_KB,  prod.namecontainerinfo as product_name
from  applicationdata ad,  holdertocontent htc,  epmdocument ed,  epmdocumentmaster edm,  pdmlinkproduct prod
where  ad.ida2a2=htc.ida3b5  and htc.ida3a5=ed.ida2a2  and ed.ida3masterreference=edm.ida2a2  and ed.ida3containerreference=prod.ida2a2  and ad.role='PRIMARY'  and ed.statestate='PRODUCTION'
order by
 edm.cadname;

Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>