bdeGetSelectedBlock
Takes diagram and returns the selected block within the diagram.
Syntax
block = bdeGetSelectedBlock(diagram)
Inputs
- diagram
 - Diagram to get selected block of.
 
Outputs
- context
 - The selected block of the diagram.
 
Examples
diagram = bdeGetCurrentDiagram()
        selectedBlock = bdeGetSelectedBlock(diagram)
        selectedBlock = hwscpHyperBlock