bdeGetBlockName

Get the name of block. block is of type hwscpHyperBlock.

Syntax

name = bdeGetBlockName(block);

Inputs

block
Block to get name of.
Type: block

Outputs

name
Name of block.
Type: string

Examples

Get name of block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          name = bdeGetBlockName(block)
        

          name = block1