NX Automations · NX dialog on Menu

Replace Face through Blends

Download 1.0.0

Puts 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

  1. Unzip. Put the replace-through-blends folder somewhere NX can read, for example D:\nx_custom\replace-through-blends. It holds application (the dialog and Python), startup (the menu) and samples.
  2. Add that folder to the custom_dirs.dat your site uses, or to a file named by UGII_CUSTOM_DIRECTORY_FILE.
  3. Restart NX. Menu › Replace Through Blends › Replace Face through Blends… appears.

Try it on the sample

  1. Open samples\flange_imported.prt and look from below.
  2. Faces to Move: the two pocket ceilings. Target Face: the OML sheet. Offset: 4.5. Largest Fillet Radius: 10.
  3. Method Replace Face Only: NX refuses, and the part is unchanged.
  4. Method Automatic: the fillets come out, the ceilings move, the fillets go back.
  5. 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.