bdeGetBlockXPosition

Gets the x position of the given block.

Syntax

xPos = bdeGetBlockXPosition(block)

Inputs

block
The block to get the x position of.
Type: block

Outputs

xPos
X position of the block.
Type: double

Examples

Get a block's x position:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          xPos = bdeGetBlockXPosition(block);
        

          
            xPos = 496.411271