Visio Guy

Visio Discussions => Shapes & Templates => Topic started by: DomB on January 21, 2011, 09:36:52 AM

Title: Adding a certain amount of space between shapes
Post by: DomB on January 21, 2011, 09:36:52 AM
Hi,

I'm using Visio to design solar panel layouts (plain rectangles in Visio). The panels are layed in rows and need to have 18mm between each of them. Is there a way I can automate that 18mm spacing?

I've tried auto align and auto space etc but not getting very far there

Any help much appreciated!
Title: Re: Adding a certain amount of space between shapes
Post by: aledlund on January 21, 2011, 02:01:33 PM
Maybe this will help

http://blogs.msdn.com/b/visio/archive/2010/12/21/our-favorite-visio-tips-amp-tricks.aspx

al
Title: Re: Adding a certain amount of space between shapes
Post by: DomB on February 02, 2011, 05:24:51 PM
Thanks - the grid thing there helps a little, but ideally I'd select say 5 rectangles and auto-space them so I get, say, 20mm put between each. I thought that might be what "Spacing Options" (Home Tab > Position > Spacing OPtions") but it doesn't seem to do much there..
Title: Re: Adding a certain amount of space between shapes
Post by: vojo on February 03, 2011, 03:47:01 AM
got to do a lot of mental math...but

- layout 5 rectangles
- Use align to line them up
- move the last one to where you want last one
- select all
- use distribute...it will spread out and space them

Of course, you can write a macro to do this....I have done it myself
Title: Re: Adding a certain amount of space between shapes
Post by: aledlund on February 03, 2011, 01:59:04 PM
As a thought you might consider creating a transparent shape of the necessary spacing to place between your panels...
al
Title: Re: Adding a certain amount of space between shapes
Post by: DomB on February 09, 2011, 03:08:45 PM
Thanks Vojo,

I like the distribute idea - I'll try that for sure.

Aledlund

I tried what you mentioned there - my main issue was getting the shapes to snap togethor. I've tried all manner of changes under View > Visual Aids to make it so that my two rectangles (one being the panel the other being a spacer) would snap togethor edge against edge but can't get them to do so. Is it because I created the shapes myself? I tried adding connector points and enabling them under visual aids but they still don't 'snap' inline..

Thanks!
Title: Re: Adding a certain amount of space between shapes
Post by: wapperdude on February 09, 2011, 03:25:51 PM
Why not use the Visio supplied add-on:  Tools > Add-ons > Visio Extras > Array Shapes.  That allows you to select spacing between shapes, number shapes by rows &/or columns?

Wapperdude