bdeGetBlockFromBlockParametersEditor
Returns the block that the editor is being used for.
Syntax
blockFromEditor = bdeGetBlockFromBlockParametersEditor(editor)
Inputs
- editor
- The editor to get the block from.
Outputs
- block
- The block that the editor is being used on.
Examples
Get a block from a block editor:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
blockEditor = bdeGetBlockParametersEditor(dialog);
blockFromEditor = bdeGetBlockFromBlockParametersEditor(blockEditor);
blockFromEditor = hwscpHyperBlock