I have come across this bug/ error/ issue, which I will now try to explain as best I can. I am using SolidWorks 2013-2014 Student edition. I will be using this technique to modify angle between parts through a c# form api (but I am not using it at the moment to modify the angle, just checking everything).
I have for my example a simple part shown in the image below of a ball joint (I’ve tried this with a hinge joint to the same effect):
I have setup 3 mates, one to connect the ball joint together, one angle mate to control the angle of movement left and right (using the planes between each half), and one to control the angle of movement forward and backward, as shown in the image below:
Now if I move the part to 30 degrees (using either mate), resulting in the image below, but when I try to move the part to 330 or (-30 from zero) it keeps the part in the same place. I can define the angle between 1 and 179 and have it move as I want it to, but as soon as I enter a number above 180 it decides to flip the part internally and go between 1 and 179 on the same side, but instead it should be on the opposite side. I used 30 and 330 as just an easy option, the error appears even when using 90 and 270...
I have tried two different ways of entering in the a new angle, one through the mate interface and editing the mate and setting a new angle, and the other way of double click the desired mate and then double selecting the angle and entering in a new angle and rebuilding. Both still come up against the same problem. I have looked for if there is a macro or setting to turn off but I can’t seem to find one. Has anyone out there got any idea’s or if not know that this is a bug? I am hoping it’s just something I am doing wrong. I have also attached the example I used
Message was edited by: Michael Voysey (updated information about using a c# form input)
error_example.zip 375.8 KB