Dear fellows: It's several days that I am struggling with Editing angle and distance Mates in SolidWord. I tried to use it in C++ but it did not work. So I wrote a simple program in VBA to test EditMate2. firstly, its syntax which intellisense shows is different from API help. Secondly, I could run other methods of AssemblyDoc, but when I use EditMate2 is shows this error message: "Expected function or Variable". it seems that this function is not defined or it's a private method. If you know how to solve the problem, I would appreciate about the response. thanks massoud