Author Topic: Circular Page Re-Layout creating multiple orbits  (Read 1277 times)

0 Members and 1 Guest are viewing this topic.

ab1987

  • Newbie
  • *
  • Posts: 3
Circular Page Re-Layout creating multiple orbits
« on: June 16, 2017, 09:13:16 AM »
Hi,

I'm attempting to use a circular page re-layout to make a single orbit of 48 nodes. What's occurring right now is 1 outer layer of 47 and then 1 internal layer of 1. I have tried messing with the various settings in the ShapeSheet for Page Layout but haven't found a variable that would affect this. Is it possible to tell it how many elements to put on a single layer around the main element?

I'm trying to get this to all work in VBA so I've been trying to find the specific variable for that purpose.

Any help would be greatly appreciated! This would make it so that I don't have to write my own routine to accomplish this.

Thanks

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2963
  • Ideas Visio-lized into solutions
Re: Circular Page Re-Layout creating multiple orbits
« Reply #1 on: June 16, 2017, 10:24:32 AM »
What's occurring right now is 1 outer layer of 47 and then 1 internal layer of 1.

Huh?  Clarify, please. 

Wapperdude

ab1987

  • Newbie
  • *
  • Posts: 3
Re: Circular Page Re-Layout creating multiple orbits
« Reply #2 on: June 16, 2017, 12:10:50 PM »
Sorry for the confusing description.

I use the circular re-layout tool to put a bunch of shapes (50) around 1 shape in a circular pattern. It works except 49 of them are in the circular pattern and 1 is not, it is off on it's own.

My current method to fix this in VBA is to add in a dummy shape bringing the total to 51, re-layout, then swap the dummy shape position with whichever one is out of place.

At this point that resolution is fine but if this is a problem with an actual fix I'd prefer to use it.

Yacine

  • Hero Member
  • *****
  • Posts: 2328
Re: Circular Page Re-Layout creating multiple orbits
« Reply #3 on: June 16, 2017, 03:02:48 PM »
Not sure if you should rely on Visio's auto-layout features. From my experience the results are not very predictable and reliable.
For a simple 1 layer concentric layout, you can try the "Sharem" tool I uploaded to the forum.

If you need an automated solution, you better go with calculating by yourself the coordinates pinx and piny of the shapes.
« Last Edit: June 17, 2017, 10:43:42 AM by Yacine »
Yacine

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2963
  • Ideas Visio-lized into solutions
Re: Circular Page Re-Layout creating multiple orbits
« Reply #4 on: June 16, 2017, 04:44:15 PM »
You can use the arc array macro to place a shape in a circular pattern.  See http://visguy.com/vgforum/index.php?topic=566.msg2396#msg2396

Wapperdude

Edit:  Here's example of using the macro to generate a circular array of 48 nodes.
« Last Edit: June 16, 2017, 06:44:46 PM by wapperdude »

ab1987

  • Newbie
  • *
  • Posts: 3
Re: Circular Page Re-Layout creating multiple orbits
« Reply #5 on: June 19, 2017, 01:23:11 PM »
Awesome, thanks for your help guys.