update_lens
Batch modify surface, field, wavelength, and aperture parameters in an optical lens model with atomic all-or-nothing updates. Supports zoom positions and field set replacement.
Instructions
批量修改已有表面、视场、波长及受限孔径参数。
一批修改共享一个恢复点;只要有一条被拒绝,整批都不会生效。 由求解或拾取控制的参数会被拒绝,多变焦镜头必须给出 zoom_position。 视场可改 y_angle、x_angle、weight 与渐晕因子 vux/vlx/vuy/vly(-0.99~0.99)。 field_set 整体替换视场集合(1~10 个角度视场,含个数、角度、权重与渐晕因子), 单独成一次事务、不能与 edits 同批;省略的权重与渐晕因子沿用同编号视场的值, 新增视场权重为 1、渐晕为 0,像面求解(如 PIM)保持不变。仅支持单变焦、角度定义的视场。 孔径首版仅支持单变焦:target=aperture、parameter=value 保持现有 EPD/FNO/NA/NAO 类型只改数值;表面 clear_aperture_radius 只改已有的 单一、居中、圆形显式通光孔径半径。自动孔径、遮拦和复合定义只读。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| outcomes | Yes | ||
| warnings | No | ||
| field_set | No | Present when the request replaced the field set. | |
| raw_output | No | ||
| rolled_back | No | ||
| restore_point | No | Identifier of the recovery point taken before editing. | |
| session_valid | No | False once the session can no longer be trusted for edits. |