Creating a surface body from a solid

Hi All,

Does anybody know how to create a surface body from a solid using just code? So far I've successfully retrieved the surface objects from the faces of the solid, but now I don't know how to put them in the model. Any help would be greatly appreciated.

SolidworksApi macros