Hello,
I have large assemblies with several mates that have been broken due to part geometry/faces changing. Unfortunately, these mates do not show up as errors in the feature tree and only show up as greyed out (but not suppressed) in the feature tree. I'm struggling to find a way to identify these via the API. I've tried the following example from the help, but it does not provide any useful info to show these problematic mates: 2013 SOLIDWORKS API Help - Get Mates and Mate Entities Example (VBA) .
I have also tried IFeature.GetErrorCode2(), but this returns 0 for no errors and False for the IsWarning (since they aren't showing up in the feature tree as errors).
Example mate that has lost its references:
Editing the "Tangent23" mate:
Is there a way to retrieve the mate selection names above so I could search "**External**Face" and see that I have an error? I'm on SolidWorks 2013.
seemed to have a somewhat similar question with .
Thanks in advance,
Matt
SolidworksApi macros