bdeGetLinkSourcePortNumber
Returns the source port number of a given link.
Syntax
srcPortNumber = bdeGetLinkSourcePortNumber(link)
Inputs
- link
- The link to get the source port number of.
Outputs
- srcPortNumber
- The source port number of the link.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
srcPortNumber = bdeGetLinkSourcePortNumber(explicitLink);
srcPortNumber = 1