bdeGetLinkSourcePortType
Returns the source port IO type of a given link.
Syntax
srcPortType = bdeGetLinkSourcePortType(link)
Inputs
- link
- The link to get the source port's type.
Outputs
- srcPortType
- The type of the source port for the link.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
srcPortType = bdeGetLinkSourcePortType(explicitLink);
srcPortType = output