bdeSelectBlock
Selects block within the diagram. block is of type hwscpHyperBlock.
Syntax
bdeSelectBlock(block, clearExistingSelection);
Inputs
- block
 - Block to select.
 - clearExistingSelection
 - Boolean that decides whether or not the existing selection should be cleared. true to clear, false to keep existing selection.
 
Examples
          diagram = bdeGetCurrentDiagram();
          newBlock = bdeCreateBlock('system/MathOperations/Sum', diagram)
          bdeSelectBlock(newBlock, true);
          bdeRedrawDiagram(diagram)