NXKnowledge

Block UI Styler > Create a Block Dialog interface

Create a Block Dialog interface

This is the book's worked, step-by-step tutorial for building a Block UI Styler dialog from scratch — a "Tab" dialog combining a Selection block, an Enumeration, and a Reverse Direction block. It doubles as a compact demonstration of the overall Block UI Styler workflow: launch the tool, place a Dialog, add blocks from multiple Block Catalog categories, rename their labels/Block IDs, and save.

Note: For more information on how to use such a Block Dialog box in NX, see User Interaction in the NX Open Programmer's Guide help.

The Block UI Styler requires an open part in NX.

Steps

  1. In NX, open a new or existing part.

  2. Choose File tab → All ApplicationsBlock UI Styler.

  3. In the Dialog dialog box, make sure Type is set to Dialog and that the Dialog page is selected.

  4. In the Block Id group, in the Label column, enter Tab. This becomes the title of the new dialog box.

    Note: The new dialog box does not appear until you place something in it.

  5. Under Block Catalog, in the Selection folder, click Super Section. The dialog box now shows this block.

  6. Under the Block ID column, change the Label of group0 to Tab.

  7. Click the Dialog tab in the Blocks area of the Dialog page.

  8. In the Basic folder in the Block Catalog, click Enumeration. Change the Label for enum0 to Tab Type.

  9. Select the group's value and set the Label value to Use Global Value.

  10. Click the Special folder and select Reverse Direction. The finished dialog now contains Super Section, Enumeration ("Tab Type"), and Reverse Direction.

  11. Click File tab → Save.

Note (repeated at end of the source page): For more information on how to use such a Block Dialog box in NX, see User Interaction in the NX Open Programmer's Guide help.

Blocks used in this tutorial (cross-reference)

  • Super Section — Selection folder (curve/sketch-on-the-fly selection block; see ui-styler/selection/selection-options-overview.md)
  • Enumeration — Basic folder
  • Reverse Direction — Special folder (see ui-styler/special/special-options-overview.md)

See also

  • Add a bitmap to a dialog
  • Position dialog items in a dialog box
  • Where to place your bitmaps

Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.blockstyler/block_sty_create · retrieved 2026-07-07