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
Remove a block from a diagram:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(d);
bdeRemoveBlockFromDiagram(diagram, block);
bdeRedrawDiagram(d)