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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

API to retrieve mass property data from published visualization data

avillanueva
22-Sapphire II

API to retrieve mass property data from published visualization data

My assumption is that the information I am looking for is contain in the .ol file. I was looking for a way to pull the mass value as an indicated that mass properties were properly done from a workflow check. Is there an API that can interact with .ol files? 

 

avillanueva_0-1714408071322.png

 

2 REPLIES 2

Hi @avillanueva 

I know that visualization thumbnail can be generated directly by Windchill without Creo worker, 

But this is based on a generated visualization files in a local Creo client.

So the question is if this thumbnail generation works somehow with the ol files, then the API can exists.

Just find it 😄 I am not sure if it is true what I wrote 😄 

PetrH

b_jarvis
6-Contributor
(To:avillanueva)

Hi @avillanueva,

 

If you have the Creo View adapters installed locally, you could use `olstat.exe` from the command line like so:

./olstat.exe <ol-path>

 It will return triangle count, mesh count, mass data (depending on your ol file) and more.
The executable can be found in the Creo View Adapters install directory i.e. C:/ptc/creo_view_adapters_<version>/bin/

Announcements

Top Tags