bdeSetBlockParameterVisibility

Sets the visibility of parameter within block. Works with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterVisibility(block, parameter, visible)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter to set the visibility of.
Type: string
visible
The bool or string to set the parameter's visibility to. true for visible, false for not visible.
Type: string/Boolean

Examples

Set the visibility of a given parameter within a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterVisibility(block, 'testParam', false);