bdeDisableBlockParameter

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

Syntax

bdeDisableBlockParameter(block, parameter)

Inputs

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

Examples

Disable a block's parameter:

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