[ Tutorial 15 / Integrate ][ 7 min ]

Linking Artifact to NX

[ 01 ]

What you'll learn

  • How the Artifact ↔ Siemens NX integration works (offline file exchange, no API)
  • How to export your harness as .plmxml (the preferred format for NX Routing) or, when needed, the legacy .hrn connection list
  • How Artifact checks names before an NX export, and how to fix them
  • How to import routed wire lengths back from NX, and (beta) rebuild the harness layout from the routed geometry
  • The differences between the NX flow and the Onshape flow you learned in Tutorial 14: Linking Artifact to Onshape
[ 02 ]

Prerequisites

01Understand the NX integration model

Unlike Onshape, the Artifact ↔ NX integration is offline file exchange — there is no API setup, no document URL, and no credentials. The flow is:

  1. Export .plmxml from Artifact (preferred — one file with full harness structure for NX Routing), or the legacy .hrn connection list if your NX workflow still expects it.
  2. Import into NX Routing on your workstation and route the wires.
  3. Export the routed .plmxml from NX.
  4. Import that file into Artifact to update the wire and cable lengths.

What flows in each direction:

  • Artifact → NX: pinouts, components, and harness structure. No lengths are sent — NX measures length when it routes.
  • NX → Artifact: routed wire lengths via Lengths only (.plmxml), or the routed branching and segment lengths via Geometry (beta).

02Open the 3D CAD Bridge

The NX controls live in the same place as Onshape.

  1. Open the harness editor for the harness you want to export (see Tutorial 10: Harness Editor).
  2. Click empty canvas (deselect everything) so the right pane shows Harness Properties.
  3. Expand the 3D CAD Bridge section.
  4. In the platform dropdown, pick NX.

The NX-specific controls appear: a Name wires by A-end pin function checkbox, an Export menu, and an Import menu with an import unit and precision beside it. The Setup link that appears for Onshape is not shown for NX.

03Choose what to include

Two checkboxes control what the export contains:

  • Include shield connections — when unchecked (the default), shield conductors are left out of the export.
  • Name wires by A-end pin function — .plmxml only. Names each wire in NX by the function of the pin at its A end instead of its reference name. Wires keep their reference names as their NX identity, so re-imports still match.

04Export the .plmxml harness model (preferred)

.plmxml is the preferred export format for NX Routing. It is a single XML document with the full harness structure: products, revisions, instances, occurrences, wire/cable stock, connectors, flow connections, and terminals. It is not a 3D route — it's the connectivity model that NX imports and then routes internally.

  1. Click Export → .plmxml (labeled Preferred for NX Routing).
  2. Your browser downloads {harnessName || diagramName || 'export'}.plmxml.
  3. A toast confirms: Exported — {filename}.plmxml downloaded.

05Fix names if Artifact asks

NX identifies components by name alone, so anything unnamed or duplicated would be merged into a single component and the harness would not route. Artifact checks for this before it downloads the file.

If it finds a problem, the Fix names before exporting dialog lists each item, with a suggested name filled in where one can be picked safely. Rename each item, then click Apply and export.

06Export the legacy .hrn connection list (optional)

Use this only if your NX workflow still expects the older CSV-based import rather than .plmxml.

  1. Click Export → .hrn.
  2. Your browser downloads {filename}.hrn — a headerless CSV with one row per wire connection. Columns in order: unique_id, from_comp, from_conn, from_port, to_comp, to_conn, to_port, gauge, type, color, fabrication, description, weight, weight_units.

There are no length columns: NX measures length when it routes.

07Route the harness in NX

Switch to NX and import the .plmxml you exported in Step 4 (preferred), or the legacy .hrn. Use NX's standard workflow to place components, route wires, and assign 3D paths. When routing is complete, NX's harness model will contain the actual routed length per wire.

When you are ready to push lengths back into Artifact, export the routed harness from NX as .plmxml. That is the only format Artifact imports, because it states its own length unit.

08Import lengths back into Artifact

Once NX has the routed lengths, get them back into Artifact.

  1. Return to the Artifact harness editor.
  2. Beside Import, pick the unit imported lengths are saved in (mm or in) — the file's own unit is converted — and the maximum precision to keep. Both choices are remembered in your browser.
  3. Click Import → Lengths only (.plmxml) and pick the routed file NX produced.
  4. Artifact matches each NX wire to the corresponding Artifact wire or cable and applies NX's routed length to it.
  5. An NX length import report shows the outcome, including anything that was skipped (for example wires joined end to end) and any failure — such as a file with no wire lengths, which means the harness wasn't routed in NX before it was exported.

Geometry (beta). Import → Geometry goes further: it rebuilds the harness's branching, layout, and segment lengths from the NX route. It replaces the existing segments, so use it when you want Artifact's harness layout to follow NX. The NX geometry import report summarizes the segments, branch points, and connectors that were rebuilt, and lists anything that was not routed in NX.

[ Note ]

The same export and length import are available from scripts: see the NX endpoints in Tutorial 19: Using the Artifact API.

09Verify the lengths landed

After the import completes:

  1. Click any updated wire or cable on the diagram or in the harness editor.
  2. Open the Properties pane (Ctrl/Cmd+P).
  3. Confirm the new Routed Length + unit on the wire/cable.
  4. In the diagram editor, the wire's Routed Length input will be disabled and show a ↗ link to open the harness editor (because the length is now defined in the harness — same flag Onshape's Sync sets).

Lengths also feed through to the BOM, Connections Table, and Cut List (Tutorial 13: BOMs & Exports).

10Compare to Onshape

A quick side-by-side reference if you're choosing between the two integrations:

StepOnshapeNX
Open bridgeHarness editor → 3D CAD BridgeSame
PlatformOnshapeNX
SetupSetup → API key + document URLNone
OptionsInclude shields, UnitsInclude shields, wire naming
Push dataView Export → Initiate / Sync (API)Export → .plmxml (preferred) or legacy .hrn
Pull lengthsSync (same button, API)Import → Lengths only (.plmxml), or Geometry (beta)
Fields updatedRouted Length on wiresSame; Geometry also rebuilds segments

Neither integration imports parts or assemblies into your Artifact library. SolidWorks and CATIA appear in the platform dropdown but aren't active yet.

[ 04 ]

NX Routing guide

The walkthrough below covers the full NX Routing workflow — importing your Artifact .plmxml, routing wires in NX, and exporting the routed file to import back into Artifact.

[ PDF ] NX Routing.pdfOpenDownload
Siemens NX Routing step-by-step guide
[ 05 ]

Summary

You exported your harness from Artifact to NX as .plmxml (the preferred format), fixed any names NX would have merged, routed the wires in NX, and imported the routed .plmxml to pull the lengths back into Artifact's Routed Length fields. The legacy .hrn connection list remains available when your NX workflow requires it, and the beta Geometry import can rebuild the harness layout from the NX route. Unlike Onshape's API-driven sync, the NX flow is offline file exchange — there is no setup, no credentials, and no server round-trip.

[ 06 ]

What's next