The integer generated by SldWorks.Mate2.GetMateEntityCount does not equal the number of mate entities in SldWorks.Mate2.MateEntity when I run my code on a width mate. Any ideas why? The MateEntity index will show 3 entities while the GetMateEntityCount integer says there are 4 entities. It works fine for all the other mate types I've thrown at it. My code is attached to this post in a .txt file.