Save new part to path

I've tried quite a few combinations of the API for saving a new part to a specified path.  I can't seem to get it to work other than saving a "copy"... it saves the file, but leaves the active document as "Part1".  Can anyone provide a sample of how this should be done?

SolidworksApi macros