Get Material Properties from Material Library

Anyone know how to get material properties from Material Database libraries?  I think they are in xtml format, but would prefer to use API hooks to access the information if possible.  I am interested in getting custom material properties from custom libraries (not sure if that makes any difference).  I don't see any Cosmosworks or Simulation API help docs?

Thanks,

Chris

SolidworksApi macros