Is there a reader and writer API available for CWR files. CWR file is the CosmosWorks mesh and results file.
Not at the moment that I am aware of. SW may have an internal tool they may "possibly" share, but if not have you tried to open it in notepad or anything? It is likely just XML or Gcode.
AngelSix (SolidWorks Tutorials and Books)
I tried opening one. It's gibberish. And not just a little either. More than 5Mb's of gibbersih.
It is likely a serialized class of their own file structure in that case then, so you could try to guess which class it is that has the data you presume is in the file, and then instantate a new instance of that class from the binary data as a deserialization request. If it works your class will have all of the relevant data. Its an old school C++ way of saving data quickly and simply.
Retrieving data ...