When the call OpenDoc6 can generate the error swFileWithSameTitleAlreadyOpen?

When the call OpenDoc6 can generate the error swFileWithSameTitleAlreadyOpen?

In my software generates this error in a particular case.

The problem happens after the execution of a Save As Copy.

SolidworksApi macros