bdeGetBlockFromBlockParametersDialog

Returns the block that the dialog is for.

Syntax

blockFromDialog = bdeGetBlockFromBlockParametersDialog(dialog)

Inputs

dialog
The dialog to get the block from.
Type: block

Outputs

block
The block that the dialog is from.
Type: block

Examples

Get a block from a block dialog:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
          blockFromDialog = bdeGetBlockFromBlockParametersDialog(blockEditor);
        

          
            blockFromDialog = hwscpHyperBlock