NX Open Python Reference Guide > Main Page
NX Open Python Reference Guide — Overview
This book is a pure Doxygen-generated API reference for the NXOpen Python
module tree (product id 209349590, book id nxopen_python_ref). Unlike the
NX Open Programmer's Guide, it contains no narrative/prose content — the
"Main Page" is blank except for a copyright line, and "Related Pages" contains
only a "Deprecated List" stub. There is no Python-vs-other-language comparison
text inside this book itself; if that kind of guidance exists, it lives in the
NX Open Programmer's Guide or the NX Open Getting Started Guide, not here.
Structure
The guide is organized as:
- Packages (
namespaces.html) — flat list of ~60 top-level namespaces under the rootNXOpennamespace, each described only as "Classes, Enums and Structs under NXOpen.<Name> namespace" (no richer one-line purpose text is provided by Doxygen for any of them — this is the actual extent of the "description" data available). - Classes (
annotated.html/classes.html/hierarchy.html) — global class list, alphabetical class index, and class hierarchy tree. - Class Members (
functions*.html) — an alphabetical member-name index across all classes (for finding which class(es) define a given method name).
See 01-namespace-index.md in this folder for the full namespace list.
Extraction limitation (important for future sessions)
Only three pages in this book proved reachable during scraping:
index.html (Main Page), namespaces.html (Packages), and pages.html
(Related Pages) — all three came back correctly through the signed
content-host iframe. Every other page tried — the root namespaceNXOpen.html,
a per-namespace page (namespaceNXOpen_1_1BlockStyler.html), and the global
annotated.html class list — returned a clean S3 AccessDenied XML body,
even when:
- setting the content iframe's
.srcdirectly to the relative URL, - doing so immediately after a fresh top-level page load (ruling out a short-lived signature expiring),
- navigating the whole tab directly to the fully-qualified content-host URL (this one hit the extension's own sandbox block for cookie/query-bearing navigation instead).
Doxygen's left-nav "Packages"/"Classes" tree in this book is not a plain
<a href> tree (no matching anchors were found in the frame's DOM), so it
could not be driven by real link clicks either — it appears to be rendered
by tree.js against a JS data file, and whatever mechanism it uses client-side
to fetch child pages was not reproduced by scripted .src assignment.
Conclusion: for this specific book, only the top-level namespace list is
extractable via the techniques available in this session. A future session
should try: (a) driving actual mouse clicks via computer on the rendered
tree-view triangles/labels (screen-coordinate clicks may trigger the site's
real click handler and any associated signing XHR, unlike a scripted
el.click() or .src= write), or (b) capturing the tree.js data file
directly (Doxygen typically emits a namespaces_dup.js / menudata.js with
the full tree as embedded JSON, which might load fine as a <script src>
even where whole HTML pages get AccessDenied).
Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.nxopen_python_ref · retrieved Tue Jul 07 2026 00:00:00 GMT+0000 (Coordinated Universal Time)