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