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

Automate adding connection points at prescribed dimensions

Started by RudySchneider, February 03, 2015, 02:37:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Winkel

What you describe is exactly what I published here:
http://visguy.com/vgforum/index.php?topic=4897.msg19238

But at that time the option "never reroute" was not set and thus I did not like the behavior.
Now, in the new version this option is set.

Good idea to start a new thread, lets continue the discussion there:
http://visguy.com/vgforum/index.php?topic=6314.msg25934

Amanda89

Is there a way to automate adding connection points in Visio at specific dimensions? Looking for a method to streamline this process for multiple shapes.

wapperdude

#32
This is an interesting question...whether or not it's sincere.

Visio doesnot come with such a built-in feature.  AFAIK, there is no add-in that does this.  The solution requires custom code.  Thus, there needs to be more info defining "automated" requirements.  Note, code solutions are not universally accepted by many companies for security reasons.

Automating connection point placement for existing, arbitrary shapes would be extremely difficult for anything other than rectangular shapes, and possibly circular.  Specific location might mean literal coordinates or percentage coordinates (as in distance along a path).  Star-like shapes would be extremely troublesome.  Whichever meaning is meant, there would need to be verification that, as a rule, the intended placement location is on the actual shape outline. 

There is, this posted topic, that presents a potential automated solution.  But this builds a rectangular shape to accommodate the specified connection points.   "Build shape with Conn Pts"  .  This is a concept presentation.  As presently configured, before running the macro, you must edit it to set number of pins, their spacing, and distribution around the shape edges.
 


Edit Update: 11/29/24--  the provided link has been updated, such that the macro requests values for pin spacing and distribution.  No longer hard coded.
Visio 2019 Pro

RudySchneider

#33
Just as an example, here's one of the shapes I created as a schematic aide.  It allows you to adjust the spacing between points around a box.

There are no problems, only opportunities

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: 214 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1098KB.
Tokens: post-login.
Cache hits: 14: 0.00277s for 26,724 bytes (show)
Cache misses: 3: (show)
Queries used: 15.

[Show Queries]