Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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?
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
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/