bdeGetPortWidth
Returns the width of a given port.
Syntax
width = bdeGetPortWidth(port)
Inputs
- port
- The port to get the width of.
Outputs
- width
- The width of the port.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
width = bdeGetPortWidth(portX);
width = 4.5