Shape Help - Change the orientation of Zero Degrees

Started by zhollett, March 17, 2010, 05:19:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hi, I hope this is in the right place and Thanks for any assistance.

What I am attempting to do is change the orientation of a shape so that Zero Degrees (0º) is in the 9 o'clock position instead of the 12 o'clock position.

The reason I am doing this is because I want to create a Tachometer object and the center arrow is going to be the pointer.

Right now, if the input is at say 30% of full speed, I am having troubles getting the arrow to sit at the proper angle.

The reason is that 30% of full speed *should* be easy to calculate as in 30% of 180º but because the orientation of the shape has 0º at the top 12 o'clock position and progressing thru degrees of rotation is to the left (anti-clockwise) it becomes really difficult to calculate the math.

The same situation is if the input is at 76% of full speed.  That side of the Tachometer (from 50% to 100%) uses angles 360º to 270º.

Its really confusing to me.

So, to make things easier for me, I would like to change the orientation of the object so that 0º sits in the 9 o'clock position and then have the degrees of rotation move in the clockwise position.

I'm sorry if this sounds a bit confusing.

1. 0º is at the top of the shape or the 12 o'clock position
2. Going through positive angle progression occurs in the anti-clockwise direction
3. I want 0º to be at the 9 o'clock position
4. I want positive angle progression to happen in the clockwise direction


To move the position of the "0 deg" there are two possibilities for your arrow. 
  1>  If it is a custom shape, redraw it with the correct orientation.
  2>  If that is not an option, then, you can add a fixed offset to the angle. 

To change the direction of rotation, multiply your value by "-1".

To correct split angle thing, use the function ang360(your value).  See

I've attached an example to pull of this together...
Visio 2019 Pro


Thanks Wapperdude.

I went with the ANG360 option and it worked perfectly.

I appreciate your quick (and correct) responses.

You are an asset to this forum.

Take care


Hey Zach --

Thanks for the kind words!   ;D 

Glad everything worked out.

Visio 2019 Pro