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
Clone a block in a diagram:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
clone = bdeCloneBlock(block);
bdeAddBlockToDiagram(diagram, clone);
bdeRedrawDiagram(diagram)
clone = hwscpHyperBlock