NXKnowledge

NX Open Python Reference Guide > Namespaces > NXOpen.BlockStyler

NXOpen.BlockStyler Namespace Reference (Python)

Verified identical class set to the C++ binding documented in full in nxopen-cpp-reference/blockstyler-namespace.md — read that file for the complete class-by-class catalog and the cross-reference to the Block UI Styler GUI tool.

Verification

The Python NXOpen.BlockStyler namespace page (Doxygen page id a00018.html in this book) lists the same 67 classes as C++: UIBlock (base), BlockDialog, CompositeBlock, Button, ListBox, DoubleBlock, Group, Table, SpecifyPoint, SpecifyVector, SelectObject, Tree, TreeListMenu, Wizard, DialogTester, MessageBoxTester, TestStepSequence, and the rest of the catalog described in the C++ file — no additions or omissions found (unlike .NET's extra NamespaceDoc / SnapBlockDialog, which are .NET-toolchain artifacts).

Practical note

Python NXOpen code accesses these as NXOpen.BlockStyler.Button, NXOpen.BlockStyler.ListBox, etc., following the same Doxygen-documented class semantics as the C++ reference — this is a pure Python module binding over the same underlying object model, with no Python-specific idioms analogous to Java's nested callback interfaces or .NET's NamespaceDoc stub.

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