public CompareResult Compare(IModelDoc2 refDocument, IModelDoc2 modDocument) { string refFileName = refDocument.GetPathName(); string modFileName = modDocument.GetPathName(); int volumeDiffStatus = 0; int faceDiffStatus = 0; SwApp.GetSwCompareGeometry().CompareGeometry3(refFileName, "", modFileName, "", (int)gtGdfOperationOption_e.gtGdfFaceAndVolumeCompare, (int)gtResultOptions_e.gtResultNoUI, "", false, false, ref volumeDiffStatus, ref faceDiffStatus); // Console.WriteLine(" +++++ GeomDiff " + volumeDiffStatus + " --- " + faceDiffStatus + " " + refFileName + " " + modFileName); return(new CompareResult()); }