API method to reset simulation material to model default

Is there a method to pull the material for a body from the original model in the simulation API? Basically, I am seeing this issue where multi body parts that have different materials for each body do not come through correctly when I put the part into an assembly for simulation. I'd like to write a macro to set materials for each body based on the material set for that body in the feature tree, but I can't seem to figure out how pull that information from the feature tree to simulation via the API.

SolidworksApi macros