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
        Get the parent diagram of a block:
        
    
          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          parentDiagram = bdeGetParentDiagram(block)
        
        
          parentDiagram = hwscpDiagram