> For the complete documentation index, see [llms.txt](https://windows.help.formit.autodesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://windows.help.formit.autodesk.com/zh-cn/plugins/example-1/manage-cameras-plugin.md).

# 管理相机插件

*在本章中，我们将对 FormIt 附带的几个插件进行举例介绍，以对* ***“Encode Campus Sample Model.axm”** 进行一些改进。如果您尚未下载，可以从* [*FormIt Primer Part II 数据集*](https://formit-help.s3.amazonaws.com/FormIt+Primer+Part+2+Datasets.zip)*下载文件*\_\_

在整个入门手册中，我们一直使用场景作为有价值的工具来导航和控制整个模型的可见性。 此插件允许我们查看和编辑当前相机的标高、将每个场景的相机输出为三维对象，以及在模型之间复制这些场景。

1 - 首先，我们将调整 **“视点标高 - 长巷”** 场景，使其相机实际处于视点标高：

1. 如果还没有调整，请通过在 **“场景选项板”** 中双击 **“视点标高 - 长巷”** 场景，以返回该场景。
2. 通过单击带有齿轮图标的相机，打开 **“管理相机选项板”**。
3. 将 **“离地高度”** 更改为 **“5’-8””**。

![](/files/mhBf1AKZLh6WG8OXSvmG)

***注意：*** *如果模型有标高，此插件还会显示* ***“主相机”** 下最近标高上方的高度。*

2 - 然后：

1. 返回 **“场景选项板”**。
2. 确保 **“视点标高 - 长巷”** 场景仍处于选中状态（否则，单击以选择它）。
3. 单击 **“更新场景”** 按钮，以将新相机高度保存到此场景。

![](/files/WKl09KpQ0uS8B6dWhyZw)

***注意：*** *还可以通过切换* ***“场景选项板”*** *顶部的* ***“编辑场景相机”*** *按钮（在“更新”和“播放”按钮之间），来调整场景相机的角度和位置。*

3 - 接下来，将场景输出到新模型。首先，我们需要使用 **“管理相机”** 插件为所有场景创建相机对象：

1. 再次打开 **“管理相机选项板”**。
2. 确保 **“将相机复制到剪贴板”** 选项已选中。
3. 单击 **“将场景输出到相机”** 按钮。这可能需要几秒钟。
4. 如果整个画布变成白色，那是因为 **“主相机”** 与其中一个场景相机对齐。**“缩小(Z)”**，直到可以看到 3 个主要建筑物和新创建的相机对象。请注意，相机对象将自动放置到名为 **“相机”** 的一个较大分组中。在该组内，每个单独的相机都放置在其自己的组中，其名称与创建该相机时所使用的场景名称相同。

![](/files/xNpHw8p5WMRNUlu5FdPZ)

4 - 将这些场景复制到新模型。由于相机数据已保存到剪贴板，因此我们无需执行太多操作：

1. **“保存** **(Ctrl + S)”** 当前模型，然后将其关闭。
2. 通过在 **“主菜单”** 栏的 **“文件”** 下拉列表中 **选择“新建草图(Ctrl + N)”**，开始一个新的空草图。
3. 打开 **“管理相机”** 插件（如果尚未打开），并确保 **“在剪贴板上查找相机”** 选项处于选中状态。
4. 单击插件底部附近的 **“从相机输入场景”** 按钮，将输入来自其他模型的场景。要进行检查，请打开 **“场景选项板”** 和/或启用 **“相机”** 图层。您将看到所有场景和三维相机对象均已输入到此模型中。

![](/files/Z5uBT5eS29n1rdv6NXRv)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://windows.help.formit.autodesk.com/zh-cn/plugins/example-1/manage-cameras-plugin.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
