<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>VisioAutomation Discussions Rss Feed</title><link>http://visioautomation.codeplex.com/Thread/List.aspx</link><description>VisioAutomation Discussions Rss Description</description><item><title>New Post: VisioPS 1.1.8 Released</title><link>http://visioautomation.codeplex.com/discussions/444223</link><description>&lt;div style="line-height: normal;"&gt;This version features two new cmdlets: Get-VisioShapeCell and Get-VisioPageCell (that are related to the Set-VisioShapeCell and Set-VisioPageCell cmdlets). These new cmdlets make it easy to examine the ShapeSheet of shapes or the active page.&lt;br /&gt;
&lt;br /&gt;
You can download it here: &lt;a href="https://visioautomation.codeplex.com/releases" rel="nofollow"&gt;download it here&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>saveenr</author><pubDate>Sun, 19 May 2013 22:33:21 GMT</pubDate><guid isPermaLink="false">New Post: VisioPS 1.1.8 Released 20130519103321P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Thanks for this. I was still trying to stuff the –shapes into the new-visiogroup. Once I double checked the syntax it works.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I really appreciate your expertise and if you are interested in this project I can send you the full details for a use case.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Think of this as a project to deliver visio automation to someone who knows nothing about visio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Basically they use a powershell form to fill out the questions and the diagram is created dynamically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I can shoot you the code if you are interested.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;moonrox&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Mon, 06 May 2013 21:00:03 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506090003P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I like the second naming convention. Keep up the great work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;J&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Mon, 06 May 2013 20:46:23 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506084623P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;That's exactly the error I'm seeing as well. I'm not sure what is causing it and had to resort selecting + New-VisioGroup without any parameters.&lt;br /&gt;
&lt;br /&gt;
Add/Remove Programs - good point. The name is a bit generic. For the next release I'll have it say &amp;quot;VisioPS&amp;quot; or &amp;quot;VisioPS (Visio PowerShell Module)&amp;quot;.&lt;br /&gt;
&lt;/div&gt;</description><author>saveenr</author><pubDate>Mon, 06 May 2013 20:44:58 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506084458P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I think we are very close. The select part works well. The group step is not working.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;I downloaded and installed 1.1.6. I am seeing the following error on grouping. New-VisioGroup :
&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;Requested operation is presently disabled.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;At C:\temp\visio\dynamic\visio_automation_v4.ps1:150 char:9&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&amp;#43; $g1 = New-VisioGroup -Shapes $shape1,$shapes4,$shapes5,$shapes6,$shapes7,$shap ...&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&amp;#43; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&amp;#43; CategoryInfo : NotSpecified: (:) [New-VisioGroup], COMException&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&amp;#43; FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,VisioPS.Commands.New_VisioGroup&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;Also. I am wondering if you could change the name of the application in Add-remove programs. I know it is your module because of the author tag but I am seeing your module named “Visio
 Powershell Module”. Not a big deal but could get confusing if there were multiple apps named Visio Powershell Module.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Mon, 06 May 2013 20:24:53 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506082453P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;I recently released VisioPS version 1.1.6 which has a change which should help this scenario work. I am still having issues creating a group by passing in the shapes, but by selecting them first it seems to work&lt;br /&gt;
&lt;br /&gt;
Try this&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;$visio = New-VisioApplication
$doc = New-VisioDocument
$stencil = Open-VisioDocument &amp;quot;basic_u.vss&amp;quot;

$master1 = Get-VisioMaster &amp;quot;Rounded Rectangle&amp;quot; $stencil 

#Drop multiple shapes at the same time
$shape0 = New-VisioShape $master1 -Points 1,5.2
$shape1 = New-VisioShape $master1 -Points 3,7.2

#Ensure that Nothing is Selected - just to demonstrate this feature
Select-VisioShape -Operation None

Select-VisioShape -Shapes $shape0,$shape1
## Group by specifying the shapes (ignore whatever is selected)
$g1 = New-VisioGroup 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>saveenr</author><pubDate>Mon, 06 May 2013 20:06:17 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506080617P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;To clarify.  I am dropping objects of different shapes and text will be different for each which is why I am dropping them individually.  So I have to be able to drop and group as I go.&lt;br /&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Mon, 06 May 2013 16:31:37 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506043137P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;This is a great example and when I run it it works.  but.....  I am struggling with the issue of grouping.  Using your example in my code i get the following.&lt;br /&gt;
Cannot convert 'Microsoft.Office.Interop.Visio.ShapeClass' to the type 'Microsoft.Office.Interop.Visio.Shape' required by parameter 'Shapes'. Specified method is not supported.&lt;br /&gt;
&lt;br /&gt;
The difference I think has to do with way you are dropping shapes.  I decided to not drop the shapes as an array but individually.&lt;br /&gt;
&lt;br /&gt;
Can you take a look at this section of code and tell me what I am not understanding?&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    #This section draws the server boxes in the web server column
    $master1 = Get-VisioMaster &amp;quot;ftdr.servers.outer.box&amp;quot; $ftdr_stencil 
    $Shape1 = New-VisioShape $master1 -Points $gridweb,5.2

    $master2 = Get-VisioMaster &amp;quot;ftdr.servers.outer.box&amp;quot; $ftdr_stencil 
    $Shape2 = New-VisioShape $master2 -Points $gridapp,5.2

    $pages = $global:visio.ActiveDocument.Pages

    $envvalueall = $envvalue + &amp;quot; Environment&amp;quot;
    $page = Get-VisioPage -Name  $envvalueall

    $connect = $page.Drop($page.Application.ConnectorToolDataObject,0,0) 
    $start = $connect.CellsU(&amp;quot;BeginX&amp;quot;).GlueTo($shape1.CellsU(&amp;quot;PinX&amp;quot;))
    $end = $connect.CellsU(&amp;quot;EndX&amp;quot;).GlueTo($shape2.CellsU(&amp;quot;PinX&amp;quot;))
    $connect.set_Text(&amp;quot;80,443&amp;quot;)

    Write-Host &amp;quot;Web Servers Direction: &amp;quot; $Webserversdirection

    if ($Webserversdirection -eq &amp;quot;Bi-Directional&amp;quot;){
        $connect.CellsU(&amp;quot;EndArrow&amp;quot;).FormulaU = 13
        $connect.CellsU(&amp;quot;BeginArrow&amp;quot;).FormulaU = 13
    }
    elseif ($Webserversdirection -eq &amp;quot;Right&amp;quot;){
        $connect.CellsU(&amp;quot;EndArrow&amp;quot;).FormulaU = 13
    }
    elseif($Webserversdirection -eq &amp;quot;Left&amp;quot;){

        $connect.CellsU(&amp;quot;BeginArrow&amp;quot;).FormulaU = 13
    }


    $master4 = Get-VisioMaster &amp;quot;ftdr.servername.whitebox.red&amp;quot; $ftdr_stencil 
    $Shapes4 = New-VisioShape $master4 -Points $gridweb,5.6
    Set-VisioText -Text &amp;quot;VIP&amp;quot;

    $master5 = Get-VisioMaster &amp;quot;ftdr.servername.whitebox.red&amp;quot; $ftdr_stencil 
    $Shapes5 = New-VisioShape $master5 -Points $gridweb,5.2
    Set-VisioText -Text &amp;quot;&amp;lt;env&amp;gt;&amp;lt;site&amp;gt;&amp;lt;tenant&amp;gt;&amp;lt;number&amp;gt;&amp;quot;

    $master6 = Get-VisioMaster &amp;quot;ftdr.servername.whitebox.red&amp;quot; $ftdr_stencil 
    $Shapes6 = New-VisioShape $master6 -Points $gridweb,5
    Set-VisioText -Text &amp;quot;&amp;lt;env&amp;gt;&amp;lt;site&amp;gt;&amp;lt;tenant&amp;gt;&amp;lt;number&amp;gt;&amp;quot;


    $master7 = Get-VisioMaster &amp;quot;ftdr.servername.whitebox.red&amp;quot; $ftdr_stencil 
    $Shapes7 = New-VisioShape $master7 -Points $gridweb,4.8
    Set-VisioText -Text &amp;quot;&amp;lt;env&amp;gt;&amp;lt;site&amp;gt;&amp;lt;tenant&amp;gt;&amp;lt;number&amp;gt;&amp;quot;


    $master8 = Get-VisioMaster &amp;quot;ftdr.servername.whitebox.red&amp;quot; $ftdr_stencil 
    $Shapes8 = New-VisioShape $master8 -Points $gridweb,4.6
    Set-VisioText -Text &amp;quot;&amp;lt;env&amp;gt;&amp;lt;site&amp;gt;&amp;lt;tenant&amp;gt;&amp;lt;number&amp;gt;&amp;quot;

    #Group the objects together
    $g1 = New-VisioGroup -Shapes $shapes1,$shapes4,$shapes5,$shapes6,$shapes7,$shapes8&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>moonrox</author><pubDate>Mon, 06 May 2013 16:23:48 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130506042348P</guid></item><item><title>New Post: VisioPS 1.1.6 Release</title><link>http://visioautomation.codeplex.com/discussions/442599</link><description>&lt;div style="line-height: normal;"&gt;You can find it here: &lt;a href="http://visioautomation.codeplex.com/releases" rel="nofollow"&gt;http://visioautomation.codeplex.com/releases&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>saveenr</author><pubDate>Sun, 05 May 2013 15:37:28 GMT</pubDate><guid isPermaLink="false">New Post: VisioPS 1.1.6 Release 20130505033728P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;I've updated the documentation to show how to accomplish this. Also, below is an example:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;$visio = New-VisioApplication
$doc = New-VisioDocument
$stencil = Open-VisioDocument &amp;quot;basic_u.vss&amp;quot;

$master1 = Get-VisioMaster &amp;quot;Rounded Rectangle&amp;quot; $stencil 

#Drop multiple shapes at the same time
$shapes = New-VisioShape $master1 -Points 1,5.2,3,5.2,5,5.2

#Ensure that Nothing is Selected - just to demonstrate this feature
Select-VisioShape -Operation None

#Select the first and third shapes dropped
Select-VisioShape -Shapes $shapes[0],$shapes[2]

# Group the selected shapes
$g1 = New-VisioGroup

# Ungroup them
Remove-VisioGroup -Shapes $g1

# Group by specifying the shapes (ignore whatever is selected)
$g1 = New-VisioGroup -Shapes $shapes[0],$shapes[1]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>saveenr</author><pubDate>Sat, 04 May 2013 17:50:46 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130504055046P</guid></item><item><title>New Post: new-visiogroup</title><link>http://visioautomation.codeplex.com/discussions/442487</link><description>&lt;div style="line-height: normal;"&gt;I am looking for some good examples of your cmdlet new-visiogroup.   the get-help section is a little short on the details.  Do you have an example of group multiple selected shapes on the active page?  Thanks for your response in advance.&lt;br /&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Fri, 03 May 2013 18:18:36 GMT</pubDate><guid isPermaLink="false">New Post: new-visiogroup 20130503061836P</guid></item><item><title>New Post: VisioPS 1.1.4 has been released</title><link>http://visioautomation.codeplex.com/discussions/441585</link><description>&lt;div style="line-height: normal;"&gt;The new version VisioPS 1.1.4 is available here: &lt;a href="https://visioautomation.codeplex.com/releases?lc=1033" rel="nofollow"&gt;https://visioautomation.codeplex.com/releases?lc=1033&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
__What improved?&lt;br /&gt;
&lt;br /&gt;
Previously Set-VisioActivePage only offered relative movement between pages, but now you can specify the page by name or even provide a Page object.&lt;br /&gt;
&lt;br /&gt;
Here are the examples&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Set-VisioActivePage -Flag FirstPage
Set-VisioActivePage -Flag LastPage
Set-VisioActivePage -Flag NextPage
Set-VisioActivePage -Flag PreviousPage

Set-VisioActivePage -Name &amp;quot;Mypage&amp;quot;

Set-VisioActivePage -Page $p #where $p is a Visio Page object

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>saveenr</author><pubDate>Thu, 25 Apr 2013 17:29:26 GMT</pubDate><guid isPermaLink="false">New Post: VisioPS 1.1.4 has been released 20130425052926P</guid></item><item><title>New Post: set-visioactivepage</title><link>http://visioautomation.codeplex.com/discussions/441434</link><description>&lt;div style="line-height: normal;"&gt;Excellent&lt;br&gt;
Sent from John's android.&lt;br&gt;
Cell 503 473 2978.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Thu, 25 Apr 2013 13:57:23 GMT</pubDate><guid isPermaLink="false">New Post: set-visioactivepage 20130425015723P</guid></item><item><title>New Post: set-visioactivepage</title><link>http://visioautomation.codeplex.com/discussions/441434</link><description>&lt;div style="line-height: normal;"&gt;Hi John, look like I completely left this feature out. &lt;br /&gt;
&lt;br /&gt;
Wait 24hours - I'll have a new build of VisioPS available that will allow you to set the page by name.&lt;br /&gt;
&lt;br /&gt;
It will probably look something like this&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Set-VisioActivePage -PageName &amp;quot;MyPage&amp;quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>saveenr</author><pubDate>Thu, 25 Apr 2013 06:19:09 GMT</pubDate><guid isPermaLink="false">New Post: set-visioactivepage 20130425061909A</guid></item><item><title>New Post: set-visioactivepage</title><link>http://visioautomation.codeplex.com/discussions/441434</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I would like to thank you for putting this together.  I am using it to automate some visio workflow and it is working well but I have a question about the set-visioactivepage.&lt;br /&gt;
&lt;br /&gt;
Basically we have about 12 pages in a Visio Template that i have to edit in multiple pages.  I am navigating around with the -flags for next and previous page but I would like to be able to set the active page to the name of the page rather than moving around.&lt;br /&gt;
&lt;br /&gt;
Is there a way to set the active page to a named page rather than using stepped navigation?&lt;br /&gt;
&lt;br /&gt;
Thanks for your response.&lt;br /&gt;
&lt;br /&gt;
John&lt;br /&gt;
&lt;/div&gt;</description><author>moonrox</author><pubDate>Wed, 24 Apr 2013 14:57:31 GMT</pubDate><guid isPermaLink="false">New Post: set-visioactivepage 20130424025731P</guid></item><item><title>New Post: Multiple connectors?</title><link>http://visioautomation.codeplex.com/discussions/439048</link><description>&lt;div style="line-height: normal;"&gt;wow i can't believe i missed that.  No more 3am coding night for me.  Thank you very much. I am back on track now.  Thank you!&lt;br /&gt;
&lt;/div&gt;</description><author>Justin_Anderson</author><pubDate>Thu, 04 Apr 2013 20:31:46 GMT</pubDate><guid isPermaLink="false">New Post: Multiple connectors? 20130404083146P</guid></item><item><title>New Post: Multiple connectors?</title><link>http://visioautomation.codeplex.com/discussions/439048</link><description>&lt;div style="line-height: normal;"&gt;I stepped through the code and here is what I discovered.&lt;br /&gt;
&lt;br /&gt;
In fact the VisioAutomation.VDX library does support adding multiple connectors. I've even added his now as a unit test.&lt;br /&gt;
&lt;br /&gt;
The reason it isn't working for you is that your code is essentially re-connecting the same connector (shape4a). You last line should be altered:&lt;br /&gt;
&lt;br /&gt;
FROM:&lt;br /&gt;
page.ConnectShapesViaConnector(shape4a, shape2, shape6);&lt;br /&gt;
&lt;br /&gt;
TO:&lt;br /&gt;
page.ConnectShapesViaConnector(shape6a, shape2, shape6);&lt;br /&gt;
&lt;/div&gt;</description><author>saveenr</author><pubDate>Thu, 04 Apr 2013 20:08:16 GMT</pubDate><guid isPermaLink="false">New Post: Multiple connectors? 20130404080816P</guid></item><item><title>New Post: Multiple connectors?</title><link>http://visioautomation.codeplex.com/discussions/439048</link><description>&lt;div style="line-height: normal;"&gt;Justin, could you send your entire VS Solution as a ZIP? I'll take a look at it.&lt;br /&gt;
&lt;br /&gt;
I vaguely remember that my code may not handle more than one connector between two objects. If that is the case I should either (1) throw an exception to indicate that it is explicitly disallowed or (2) make it work correctly.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
-s&lt;br /&gt;
&lt;/div&gt;</description><author>saveenr</author><pubDate>Thu, 04 Apr 2013 07:09:34 GMT</pubDate><guid isPermaLink="false">New Post: Multiple connectors? 20130404070934A</guid></item><item><title>New Post: Multiple connectors?</title><link>http://visioautomation.codeplex.com/discussions/439048</link><description>&lt;div style="line-height: normal;"&gt;I am trying to generate a workflow on the fly from code using your VisioAutomation.VXD.  First of all it's VERY impressive.  I have changed my template to be one that is for the basic workflow.  Everything seems to be working so far, except i cannot get it to create two dynamic connectors from the same source shape.  All i have been doing at this point is modifying your test case.  In page one i put the following code.  It does make a valid Visio diagram i can use, but only 1 connector is drawn.  Any ideas?&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        int startEndId = doc.GetMasterMetaData(&amp;quot;Start/End&amp;quot;).ID;
        int decisionId = doc.GetMasterMetaData(&amp;quot;Decision&amp;quot;).ID;
        int processId = doc.GetMasterMetaData(&amp;quot;Process&amp;quot;).ID;

        var shape1 = new VA.VDX.Elements.Shape(startEndId, 4.25, .5, 1.5, .5);
        page.Shapes.Add(shape1);

        var shape2 = new VA.VDX.Elements.Shape(decisionId, 4.25, 1.5, 1, 1);
        page.Shapes.Add(shape2);

        var shape3 = VA.VDX.Elements.Shape.CreateDynamicConnector(doc);
        page.Shapes.Add(shape3);            
        page.ConnectShapesViaConnector(shape3, shape1, shape2);

        var shape4 = new VA.VDX.Elements.Shape(processId, 2.75, 2.5, 1.5, 1);
        page.Shapes.Add(shape4);
        var shape4a = VA.VDX.Elements.Shape.CreateDynamicConnector(doc);
        page.Shapes.Add(shape4a);
        page.ConnectShapesViaConnector(shape4a, shape2, shape4);

        var shape5 = new VA.VDX.Elements.Shape(processId, 5.5, 2.5, 1.5, 1);
        page.Shapes.Add(shape5);
        var shape5a = VA.VDX.Elements.Shape.CreateDynamicConnector(doc);
        page.Shapes.Add(shape5a);
        page.ConnectShapesViaConnector(shape4a, shape2, shape5);

        var shape6 = new VA.VDX.Elements.Shape(processId, 8.25, 2.5, 1.5, 1);
        page.Shapes.Add(shape6);
        var shape6a = VA.VDX.Elements.Shape.CreateDynamicConnector(doc);
        page.Shapes.Add(shape6a);
        page.ConnectShapesViaConnector(shape4a, shape2, shape6);&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>Justin_Anderson</author><pubDate>Thu, 04 Apr 2013 07:03:44 GMT</pubDate><guid isPermaLink="false">New Post: Multiple connectors? 20130404070344A</guid></item><item><title>New Post: VisioPS updates</title><link>http://visioautomation.codeplex.com/discussions/433160</link><description>&lt;div style="line-height: normal;"&gt;A New version was uploaded today!&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Updates&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Many cmdlets worked on the active selection. Now these cmdles have an optional parameter called -Shapes that let you specify the specific shapes to work on&lt;/li&gt;
&lt;li&gt;Set-VisioCell and Get-VisioCell offer easy access to the ShapeSheet results on Formulas&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>saveenr</author><pubDate>Thu, 14 Feb 2013 16:04:29 GMT</pubDate><guid isPermaLink="false">New Post: VisioPS updates 20130214040429P</guid></item></channel></rss>