bdeGetBlockDefaultName

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

Syntax

deafultName = bdeGetBlockDefaultName(block);

Inputs

block
Block to get default name of.
Type: block

Outputs

name
Default name of block.
Type: string

Examples

Get default name of block:

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

          name = block1