hexagon logo

Arrest the line allignment

Constructed a PCD and line also. Allignment done but rotation changing to 180 degrees some times. How to arrest the line allignment?