bdeGetBlockHeight

Gets the height of the given block.

Syntax

height = bdeGetBlockHeight(block)

Inputs

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

Outputs

height
Height of the block.
Type: double

Examples

Get a block's height:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          height = bdeGetBlockHeight(block);
        

          
            height = 48