Connecting elements by code RRS feed

  • Question

  • Hi!

    I want to connect two model elements by custom code - not by clicking on a toolbox connection tool but by using a custom windows form.
    I tried the ConBuilder.Connect-Method, the result is a hanged-up VS2008... The
    The connection tool itself works perfectly.

    Any idea how to do this?
    Tuesday, July 22, 2008 11:57 AM


  • I have found the problem.

    I did not perform a transaction. I tried a simple minimal language test project. There the studio did not hang up - and the thrown exception led me to the solution.
    I had tested transactions before, but in this former state i had coded annother error i think...


    • Marked as answer by Feng Chen Wednesday, July 23, 2008 5:31 AM
    Tuesday, July 22, 2008 6:43 PM