bdeGetLinkType

Returns the type of a given link.

Syntax

linkType = bdeGetLinkType(link)

Inputs

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

Outputs

linkType
The type of the link.
Type: string

Examples

Get the type of a given link:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          explicitLink = bdeGetExplicitLink(diagram, block, 1, 'output');
          linkType = bdeGetLinkType(explicitLink);
        

          
            linkType = Explicit