bdeSetBlockLabelVisibility
Sets the visibility of the label of block.
Syntax
bdeSetBlockLabelVisibility(block, isVisible)
Inputs
- block
- The block to change visibility of label.
- isVisible
- Boolean to decide whether or not the label of block is visible. true for visible, false for not visible.
Examples
Set a block's label visibility to make label show:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockLabelVisibility(block, true);
bdeRedrawDiagram(diagram)
Set a block's label visibility to make label disappear:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockLabelVisibility(block, false);
bdeRedrawDiagram(diagram)