Join and Shell

I want to take an assembly, join the parts in a part file and shell it.  What api commands do I use for the Join and Shell?

SolidworksApi macros