bdeGetPortHeight

Returns the height of a given port.

Syntax

height = bdeGetPortHeight(port)

Inputs

port
The port to get the height of.
Type: hwdcConnectionPoint

Outputs

height
The height of the port.
Type: double

Examples

Get the height of a given port:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          portList = bdeGetPortsOnBlock(block);
          portX = portList{[1, 1]};
          height = bdeGetPortHeight(portX);
        

          
            height = 4.5