Visio tip: mimic CAD Ortho Mode for a given shape
Today I needed to create a shape that was constrained to 90° increments of rotation. In most CAD programs it’s easy enough to turn on Ortho Mode when you’re drawing a shape that should fit such a constraint, but Visio doesn’t offer that drawing mode, and even if it did it wouldn’t solve my particular problem: I need a shape that that can only be rotated to be orthogonal to the paper’s edge, not a drawing mode per se.
An easy solution presented itself in the BOUND shapesheet function (details online at Visio 2003 SDK Documentation:BOUND Function). Here’s the function I actually put in the shape’s Angle cell:
BOUND(, 0, FALSE, 0 deg, 0 deg, FALSE, 90 deg, 90 deg, FALSE, 180 deg, 180 deg, FALSE, -90 deg, -90 deg)
Works like a charm….

December 5th, 2006 at 5:52 am
Cool to see that folks are deep in the ShapeSheet and have discovered the BOUNDS function!
Here’s some Visio keyboard shortcuts that will also help you with rotation:
- Rotate clockwise by 90 deg: Ctrl + R
- Rotate counter-clockwise by 90 deg: Ctrl + L
- Rotation tool snapping: When rotating a Visio shape, the rotation-snap increases as you move closer to the center of rotation. So when you are really close, the rotation snaps to 15 deg increments. As you move out it goes down to 1 deg, then tenths of a degree, and so on.
Chris Roth
Visio Guy
December 5th, 2006 at 6:29 am
I was aware of the rotation key combos, but a lot of my users don’t use the keyboard much so I needed a mouseable solution. I also knew about rotation snap, but not that particular feature - very helpful!
December 14th, 2006 at 4:35 am