News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Shape Alignment: Face to Face and Diagonal Corners

Started by wapperdude, September 08, 2015, 12:29:26 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

wapperdude

Visio provides basic alignment options which nicely align shapes along an edge or about the shape centers.  However, the alignment tool doesn't do butt joints, that is, facing edge to facing edge.  Nor, does it do corner to corner.  Paul Herber and I collaborated on a new utility which has been added to his Super Utilities.  This new utility does these missing alignment options, plus, allows the user to glue the shapes to each other if desired.

Access of this utility is thru menu bar > Super Utilities > Shape > Align and Glue.  This brings up a non-modal form which presents the various alignment options plus gluing. 

At least two shapes must be selected.  For face to face alignment, the shapes must be orthogonal, i.e., -90deg, 0deg, +90deg.  For diagonal alignment, this restriction is removed.  Alignment of the shapes proceeds in the order of their selection.  The 1st selected shape is the base shape.  The remaining shapes align around this shape according to the option selected.  The diagonals only radiate to the right, either upwards or downwards.  Gluing is only along the alignment direction which allows the shapes to slide along the alignment edge.

The attached file is a composite of all the various alignments, where Sheet.1 was always the base shape. 

My thanks to Paul Herber for his help on this project.

Enjoy!
Wapperdude
Visio 2019 Pro

Paul Herber

Mr Wapperdude is being extremely modest. It was his idea, he did all the designing, coding and debugging in VBA, created all the rather complicated formulae involved. All I did was to take Wapperdude's code and translate it into Lazarus (Delphi) Free Pascal.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

wapperdude

Visio 2019 Pro

wapperdude

Visio 2019 Pro

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 197 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1050KB.
Tokens: post-login.
Cache hits: 13: 0.00131s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]