bdeGetBlockFromBlockParametersDialog
Returns the block that the dialog is for.
Syntax
blockFromDialog = bdeGetBlockFromBlockParametersDialog(dialog)
Inputs
- dialog
- The dialog to get the block from.
Outputs
- block
- The block that the dialog is from.
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