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