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

How to get physical file size from an EPMDocument using Java code?

$
0
0

Hello!

 

Does anyone happen to know how to get the file size of an EPMDocument or more precise the file size of the primary content?

I'm looking for the value presented under the Content Tab -> File Size for a particual version (see embedded image).

EPMDocument_file_size.JPG

 

I would like to extract this value using Java.

Pseudo code below:

 

EPMDocument doc = getEPMDocument("filename", "1", "3");

String size = doc.getPrimaryContentSize();

 

Thank you for your effort!

/Peter


Viewing all articles
Browse latest Browse all 8876

Trending Articles



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