bdeGetLinkSourceBlock
Returns the source block of a given link.
Syntax
srcBlock = bdeGetLinkSourceBlock(link)
Inputs
- link
- The link to get the source block of.
Outputs
- srcBlock
- The source block of the link.
Examples
Get the source block of a given link:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
srcBlock = bdeGetLinkSourceBlock(explicitLink);
srcBlock = hwscpHyperBlock