bdeRemoveBlockFromDiagram
Removes block from diagram. block is of type hwscpHyperBlock.
Syntax
bdeRemoveBlockFromDiagram(diagram, block);
Inputs
- diagram
- Diagram to remove block from.
- block
- Block to remove from the diagram.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(d);
bdeRemoveBlockFromDiagram(diagram, block);
bdeRedrawDiagram(d)