# 設定磁場研究 (`field.setStudy`)

[元件參考](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/) · [English](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/commands/field-setStudy/)

**選單:** 無（快速開啟、CLI、Python 與 MCP） · **執行方式:** 立即完成

> 預覽功能：在「編輯 › 偏好設定 › 模擬」開啟預覽功能，或執行 `preview.set {"enabled":true}`。回覆會帶有 `preview: true` 與說明。

以下參數與說明取自指令本身的定義，與 CLI、Python 及 MCP 讀到的文字相同，因此保留英文。

## 說明

Sets a field study's setup, view or part; each at most 64 KiB of JSON. A solve sets the live study's setup by itself.

## 參數

- `index`: int? (default the live study)
- `setup`: object? (replaces the solve params: design, component, dimension, currents, mesh and stopping options as the solving command takes them)
- `view`: object? (replaces how the app shows it: zoom, camera, section, quantity, views kept for the report; a view alone does not mark the circuit unsaved, the next save writes it)
- `part`: str|null?

## 回覆

- index
- study
