Save3 - return false but no errors or warnings

Hi folks,

I'm trying to save an assembly drawing using the following C# code:

 

saved =swMainDoc.Save3((int)swSaveAsOptions_e.swSaveAsOptions_Silent
+ (int)swSaveAsOptions_e.swSaveAsOptions_SaveReferenced, refswError, ref swWarning);

swError and swWarning are both coming back as 0, but themethod itself is returning false.

Anyone seen this problem in their own application?SolidworksApi macros