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