Switch back to unsaved open drawing

Hi there,

I'm in a new unsaved drawing and running a macro which opens a part or assy to read the custom and configuration specific custom properties from.

After that i like to return to the drawing but swModel.GetPathName = ""

In other words, how can I go back to my drawing which has only a title name ?

Anyone ?

Greetings !

SolidworksApi macros