bdeSetBlockStatus
Sets the status of a given block.
Syntax
bdeSetBlockStatus(block, flag)
Inputs
- block
 - The block which will have it's status property set.
 - flag
 - The string value to set the status property to. Options are 'on', 'off' and 'bypass'.
 
Examples
          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockStatus(block, 'yes');