bdeGetExplicitLink

Returns an explicit link in the diagram that is part of block.

Syntax

explicitLink = bdeGetExplicitLink(diagram, block, sourcePortNum, sourceIOType)

Inputs

diagram
The diagram that the components are in.
Type: diagram
block
The source block that the link is connected to.
Type: block
sourcePortNum
The number of the source port that the link is connected to.
Type: integer
sourceIOType
The IO type of the port that the link is connected to.
Type: string

Outputs

explicitLink
The link that is returned. Works with explicit links.
Type: hwdcConnection

Examples

Get an explicit link:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
        

          
            explicitLink = hwdcConnection