NX NXOpen: How to disable dialog memory in Block UI Styler?

2022-02-24T21:59:51Z
NX Open NX System Administration

Summary


Details

Is it possible to have a Block UI Styler dialog ignore dialog memory? 



Solution

Yes, by passing in the DialogMode.Edit enum to the Dialog.Show() method, NXOpen will ignore the dialog memory and launch the dialog without any default or previous values from NX. Also, when the dialog is complete no values will be saved. 
theDialog.Show(BlockDialog.DialogMode.Edit);


More information can be found in the NXOpen Programmers guide: 
https://docs.sw.siemens.com/en-US/product/209349590/doc/PL20200605194735749.nxopen_prog_guide/html/genid_dialog_memory_4_794 



Notes and References


Hardware/Software Configuration

Platform: all
OS: n-a
OS Version: n-a
Product: NX
Application: SYSENG
Version: V1.0.6
Function: NXOPEN

Ref: 001-10243890

KB Article ID# PL8604873

Contents

SummaryDetails

Associated Components

Block/UI Interface Stylers Knowledge Fusion Menuscript NX Open - All Languages NX Open Python Open for C/C++ Open for CAE Open for GRIP Open for Java Pre-NX6 UI Styler SNAP UDO