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