From the API documentation:
- Array of features in the What's Wrong dialog
- Array of error codes corresponding to the features in the What's Wrong dialog as defined in swFeatureError_e
- Array of Booleans corresponding to the features in the What's Wrong dialog indicating whether SolidWorks detected a What's Wrong item as a warning; true if SolidWorks detected a What's Wrong item as a warning, false if not
True if this method runs successfully, false if not
I want to know that GetWhatsWrong check about "to save" Or check about all of "swFeatureError_e".
I believe this will reveal the contents of the "Whats Wrong" dialog box which will report errors in the model (not just related to saving).
If you want the errors relating to the save operation:
bool ret = swModelExt.SaveAs(convertFile
, ref errors
, ref warnings);
'ret' will indicate whether or not the save was successful, 'errors' and 'warnings' will indicate more specifically what was wrong.
Thanks for your teaching Jhon.