hexagon logo

Angle Vector Flipping - Annoyed!

I was programming a small radius today from and it kept flipping on me when I ran the program. I initially programmed it to 270 to 300 degrees. When I went to ran the program it was way off. The probe would crash into the part in an attempt to go through the part. I F9ed the feature again and it appears that the angle vector had been flipped. So I changed it to 0 to 30 degrees and ran it again. Same thing happened. It is a macro (part family) program. The diameter of the feature is a variable (not sure if that is causing the problem). I ended up having to remake the feature (90 to 120 now!!!) and it seems to be running fine. I didn't check to see if the angle vector was actually flipping in the code, but I think that's what was happening. What do you do when you encounter this kind of issue? Would adding +0 to the angle vector work?
Parents Reply Children
No Data