bdeGetBlockPosition

Gets the position of the given block.

Syntax

pos = bdeGetBlockPosition(block)

Inputs

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

Outputs

pos
Position of the block.
Type: matrix

Examples

Get a block's position:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          pos = bdeGetBlockPosition(block);
        

          
            pos = [Matrix] 2 x 1
            496.41127
            190.34791