Hi want to write a program using c# that opens up solidworks assemblies in a large drive and find assemblies with broken part refrences and fix them accordingly. I was tried to access errors and warnings using WhatsWrong but that didnt give back anything consistent.
Do you mean the files which are missing? If so you may just traverse all suppressed components and get their path (IComponent2::GetPathName). If the file doesn't exist it means it is missing and the reference is broken.
Thanks,
Artem