bdeSelectBlocks
Takes diagram and selects the given blocks within the diagram.
Syntax
bdeSelectBlocks(diagram, blocks)
Inputs
- diagram
- Diagram that the blocks to select are within.
- blocks
- List of blocks to be selected within the diagram. This is a list of blocks. These lists can be of type hwStringList or hwscpHyperBlockList.
Examples
Select blocks within a diagram:
diagram = bdeGetCurrentDiagram();
bdeSelectBlocks(diagram, {'block1', 'block2'})