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