Returns the source block of a given link.

Inputs

The link to get the source block of.
Type: hwdcConnection

Outputs

srcBlock
The source block of the link.
Type: block

Examples

Get the source block of a given link:

diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);



srcBlock = hwscpHyperBlock