bdeGetPortYPosition
Returns the y position of a given port.
Syntax
yPos = bdeGetPortYPosition(port)
Inputs
- port
- The port to get the y position of.
Outputs
- yPos
- The y position of the port.
Examples
Get the y position of a given port:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
yPos = bdeGetPortYPosition(portX);
yPos = 0