bdeSetBlockDefaultName

Sets the defualt name for block as name. block is of type hwscpHyperBlock.

Syntax

bdeSetBlockDefaultName(block, name);

Inputs

block
Block to set the default name of.
Type: block
name
Name to set the block's default name to.
Type: string

Examples

Set a block's deafult name:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram)
          bdeSetBlockDefaultName(block, 'testName')