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.
- name
- Name to set the block's default name to.
Examples
Set a block's deafult name:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram)
bdeSetBlockDefaultName(block, 'testName')