bdeGetLinkDestinationPort
Returns the destination port of a given link.
Syntax
destPort = bdeGetLinkDestinationPort(link)
Inputs
- link
- The link to get the destination port of.
Outputs
- destPort
- The destination port of the link. The port that the link is connected to on the destination block.
Examples
Get the destination port of a given link:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
destPort = bdeGetLinkDestinationPort(explicitLink);
destPort = hwdcConnectionPoint