Extending product function with VBA > The System Architect object model > Object model classes > Symbol class > Symbol class: Methods > ConnectFrom
  
ConnectFrom
Used to connect a symbol at the "to" end of the line.
Syntax
Symbol Object.ConnectFrom Line
Parameters
Symbol Object
Use: Required
Data type: Object
Any instantiated Symbol class from which the line symbol will be connected.
Line
Use: Required
Data type: Symbol
Any instantiated line symbol
Example
Dim oFirstsymbol As Symbol, oSecondsymbol As Symbol, oLine As Symbol
Set oFirstsymbol = oDiagram.CreateSymbol("Customer", ETPROCESS)
Set oSecondsymbol = oDiagram.CreateSymbol("Order", ETPROCESS)
Set oLine = oDiagram.CreateSymbol("places", ETDATAFLOW)
Call oFirstsymbol.ConnectTo oLine
Call oSecondsymbol.ConnectFrom oLine
See also
Symbol class: Methods