bdeGetBlockParametersPostCallback
Returns the script to call for a given block after clicking ok on a parameters dialog.
Syntax
postCallback = bdeGetBlockParametersPostCallback(block)
Inputs
- block
- The block to get the post callback of.
Outputs
- postCallback
- The script to call after pressing ok on a dialog box.
Examples
Get a block's post callback:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
postCallback = bdeGetBlockParametersPostCallback(block);
postCallback = iconnames = bdeGetBlockTextIconNames (block);
text = hwscpEngineUtilsAPIs_EvaluateBlockText (blockParameters, 'mulmethod');
bdeSetBlockTextIconValue (block, iconnames{1}, text);