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.
- parameter
- The parameter to set the visibility of.
- visible
- The bool or string to set the parameter's visibility to. true for visible, false for not visible.
Examples
Set the visibility of a given parameter within a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterVisibility(block, 'testParam', false);