> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/gong-neng/biao-chi-he-can-kao-xian.md).

# 标尺和参考线

标尺与参考线为创作空间带来精确的测量和对齐——专为对产品尺寸和摆放有严格要求的团队打造。

## 何时使用

使用 **标尺和参考线** 当位置和尺寸需要精确无误——而不只是“看起来差不多”时：

* 在不同场景中一致对齐产品、文本、形状或标志。
* 检查某个元素的精确尺寸，或场景中元素之间的距离。
* 无需离开 Beachside 即可进行精确排版工作。<br>

***

## 使用方法

{% stepper %}
{% step %}

#### 点击 <i class="fa-ruler" style="color:$primary;">:ruler:</i> <kbd><mark style="color:$primary;">**标尺和参考线**<mark style="color:$primary;"></kbd> 切换开关

位于创作空间右下角，你也可以使用键盘快捷键 <kbd><mark style="color:$primary;">**Shift + R**<mark style="color:$primary;"></kbd> 来将其开启和关闭

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FDoIx8ytM0CYoZTN49lHC%2Fentry%20point%20example.png?alt=media&amp;token=530f2ba8-8d3a-490f-a20f-24d0b9f9db12" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### 创建新的参考线

* 从 **顶部** 或 **左侧** 标尺上拖出参考线到创作空间中。
* 从 **左上角** 以同时拖出 **水平** 和 **垂直** 参考&#x7EBF;**.**

拖动时，参考线的像素位置会显示在标尺上，方便你精确放置。
{% endstep %}

{% step %}

#### 如何读取距离

标尺上的距离标注始终根据你正在处理的内容显示，并带有 **高亮带** 会出现在每个标尺上，便于读取。

* **未选择任何内容** → 从创作空间的左上角开始测量。
* **已选择场景** → 从该场景的左上角开始测量。
* **已选择图层** → 仍从场景角开始测量，因此你可以看到图层在场景中的位置。
  {% endstep %}

{% step %}

#### 移除参考线

* 移除 **单条参考线** — 将其拖回最初的标尺，或点击选中它并按下 <kbd><mark style="color:$primary;">**Delete**<mark style="color:$primary;"></kbd> 键。
* 移除 **所有参考线** — 右键单击 **顶部** 或 **左侧** 标尺，然后选择 **移除所有参考线。**
  {% endstep %}
  {% endstepper %}

***

## 常见问题

<details>

<summary><strong>场景参考线和全局参考线有什么区别？</strong></summary>

参考线所属位置取决于你创建时所选的内容。

* **全局参考线** — 创建时 **未选择任何内容**。它们会固定在创作空间中的位置，无论场景如何移动都不会改变。整条线都是实线。
* **场景参考线** — 创建时选中了一个 **场景**。它们属于该场景，并随之移动。在场景内为实线，超出场景的部分为虚线。

</details>

<details>

<summary><strong>当我重新打开创作空间时，我的标尺和参考线还会在吗？</strong></summary>

会！参考线会 **随创作空间一起保存** — 重新打开时，参考线会保留在你放置的位置。

* **复制场景** 会在相同的相对位置复制其场景参考线。
* **删除场景** 会连同该场景的参考线一起移除。

</details>

<details>

<summary><strong>如果关闭标尺，我会失去所有的参考线吗？</strong>  </summary>

关闭可见性不会删除你的参考线——当你重新打开标尺时，它们会在你上次放置的位置重新出现。

</details>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.theseaai.com/main/ch/gong-neng/biao-chi-he-can-kao-xian.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
