bdeEnableBlockParameter

Enables a parameter within block. Works with inline blocks. Super blocks are inlined blocks.

Syntax

bdeEnableBlockParameter(block, parameter)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter that is being enabled.
Type: string

Examples

Enable a block's parameter:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeEnableBlockParameter(block, 'testParam');