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