bdeGetPortHeight
Returns the height of a given port.
Syntax
height = bdeGetPortHeight(port)
Inputs
- port
- The port to get the height of.
Outputs
- height
- The height of the port.
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