NX Automations · NX dialog on Menu
Replace Face through Blends
Download 1.0.0Puts faces of a solid onto another face at an offset, such as a pocket ceiling onto the outer mold line at a new thickness, even when the fillets around them stop Replace Face.
Verification passing on NX 2606.5001 · 2026-10-04 · repo 193f221
Pure NX Open for Python with a Block UI Styler dialog: nothing to compile. The download includes the sample flange (native and imported) and the same part built at the new offset, to compare.
Install
- Unzip. Put the
replace-through-blendsfolder somewhere NX can read, for exampleD:\nx_custom\replace-through-blends. It holdsapplication(the dialog and Python),startup(the menu) andsamples. - Add that folder to the
custom_dirs.datyour site uses, or to a file named byUGII_CUSTOM_DIRECTORY_FILE. - Restart NX. Menu › Replace Through Blends › Replace Face through Blends… appears.
Try it on the sample
- Open
samples\flange_imported.prtand look from below. - Faces to Move: the two pocket ceilings. Target Face: the OML sheet. Offset: 4.5. Largest Fillet Radius: 10.
- Method Replace Face Only: NX refuses, and the part is unchanged.
- Method Automatic: the fillets come out, the ceilings move, the fillets go back.
- Compare with
samples\flange_reference_4p5.prt, built natively at 4.5.
Headless
application\rtb_core.py runs without the dialog: replace_through_blends(part, faces, onto_faces, offset, max_fillet_radius=20.0, mode="auto") returns a report (method used, fillets taken out and put back, the largest offset error, the volume change) or raises with the report after putting the part back.