# Import FEMM Results (`magnetics.femmImport`)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/commands/magnetics-femmImport/)

**Menu:** **Design › Field Solver › FEMM Import** · **Runs as:** at once

## What it does

Reads field-solver results back: L of each winding, M, k = M/√(L1·L2), the magnetising inductance a·M and the leakages L1 − a·M and L2 − M/a, and the winding resistance at the frequency (rac). Give exactly one of results, path or values. With apply, an inductor gets l, a coupled inductor l1, l2 and k, a transformer lm, llk1 and llk2; the source (e.g. 'FEMM, gap 1.2 mm, 100 kHz') names the history step.

## Parameters

- `results`: str? (the text of the results file the magnetics.femmExport script wrote)
- `path`: str? (that file, read through the host's file service)
- `values`: {"source":str,"frequency":Hz,"gapMm":number?,"l1":H,"l2":H?,"m":H?,"r1":Ω?,"r2":Ω?,"turns1":int?,"turns2":int?}? (from another field solver, e.g. Ansys Maxwell or COMSOL)
- `component`: str? (inductor, coupled inductor or transformer to write)
- `ratio`: number? (N1/N2 for the transformer split; default the results' turns, then the part's n)
- `apply`: bool=false (write ONE history step named after the source)

## Reply

- source
- frequency
- gapMm
- result:{values}
- apply:\[edits\]
- applied
- notes
