bdeCloneBlock
Clones block in diagram. block is of type hwscpHyperBlock.
Syntax
clone = bdeCloneBlock(block);
Inputs
- block
- Block to clone.
Outputs
- clone
- The cloned block.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
clone = bdeCloneBlock(block);
bdeAddBlockToDiagram(diagram, clone);
bdeRedrawDiagram(diagram)
clone = hwscpHyperBlock