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