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
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockLabelVisibility(block, true);
bdeRedrawDiagram(diagram)
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockLabelVisibility(block, false);
bdeRedrawDiagram(diagram)