NX Open Programmer's Guide > Block Styler Automation > Block Styler Memory and Callbacks > Dialog Values
Dialog Values
The following describes how dialog values are maintained by the different callbacks. These terms are used throughout the Block Styler Automation section to describe the various values used to maintain the dialog values.
Current Dialog Values
These are the values that are shown to the user in the dialog. The user will modify these values and then hit the Ok or Apply button to use the values to create NX objects.
Default Values Given in the DLX File
These are the values that are defined when the dialog is created with Block Styler. Unless overridden at runtime by the NX Open programmer or by dialog memory values, the DLX values will be the default dialog values.
Default Values Set by the Initialize Callback
These are values set by the NX Open programmer in the Initialize Callback. These values will override any DLX values. These values will be overridden by Dialog Memory values when the dialog is in Create mode. When the dialog is in edit mode, the NX Open programmer should use the Initialize Callback to set the values of the objects that are being edited.
Dialog Memory Values
When the dialog is in Create mode, these values are maintained automatically by NX:
- While in Create mode, the dialog memory values are set equal to the current dialog values just after execution of the Ok or Apply callback.
- The current dialog values are set equal to the dialog memory values at the end of the dialog initiation process (just after the Initialize Callback).
- When the dialog is in Edit mode, the dialog memory values are not changed and are not used to initialize the current dialog values.
Related Topics
- Block Styler Memory and Callbacks
- Standard Navigator Buttons
- Dialog Memory
- Callbacks
- Dialog Value Example
Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.nxopen_prog_guide/genid_dialog_values_10_1609 · retrieved 2026-07-07