bdeGetBlockDiagram
Gets the diagram that the block is in. block is of type hwscpHyperBlock.
Syntax
diagram = bdeGetBlockDiagram(block);
Inputs
- block
- Block to get diagram of.
Outputs
- diagram
- The diagram that the block is in.
Examples
Get the parent diagram of a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
blockDiagram = bdeGetBlockDiagram(block)
blockDiagram = hwscpDiagram