bdeGetLinkDestinationPortType

Returns the destination port IO type of a given link.

Syntax

destPortType = bdeGetLinkDestinationPortType(link)

Inputs

link
The link to get the destination port type of.
Type: hwdcConnection

Outputs

srcPort
The IO type of the destination port for the link.
Type: string

Examples

Get the IO type of a destination port for a given link:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
          destPortType = bdeGetLinkDestinationPortType(explicitLink);
        

          
            destPortType = input