bdeSetPortSize
Sets the width and height of a port.
Syntax
bdeSetPortSize(port, width, height)
Inputs
- port
- The port that will it's shape set.
- width
- The width to set for the port.
- height
- The height to set for the port.
Examples
Set the width and height of a port:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
bdeSetPortSize(portX, 4, 4);