> For the complete documentation index, see [llms.txt](https://primer2.dynamobim.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://primer2.dynamobim.org/ko/5_essential_nodes_and_concepts/5-5_dictionaries-in-dynamo/2-node-uses.md).

# 사전 노드

Dynamo 2.0은 다양한 사전 노드를 제공하는데, 그러한 노드 중에는 *create, action 및 query* 노드가 있습니다.

!

#### Create

1.`Dictionary.ByKeysValues`는 제공된 값과 키를 사용해서 사전을 작성합니다. *항목 수는 가장 짧은 리스트 입력이 됩니다.*

#### 작업

2. `Dictionary.Components`는 입력 사전의 구성요소를 생성합니다. *(create 노드의 역 작업입니다.)*
3. `Dictionary.RemoveKeys`는 입력 키가 제거된 새 사전 객체를 생성합니다.
4. `Dictionary.SetValueAtKeys`는 입력 키와 값을 기준으로 새 사전을 생성하여 해당 키의 현재 값을 대치합니다.
5. `Dictionary.ValueAtKey`는 입력 키의 값을 반환합니다.

#### 조회

6. `Dictionary.Count`는 사전에 있는 키 값 쌍의 수를 알려줍니다.
7. `Dictionary.Keys`는 현재 사전에 저장된 키를 반환합니다.
8. `Dictionary.Values`는 현재 사전에 저장된 값을 반환합니다.

색인과 리스트로 작업하는 이전 방법 대신, 전반적으로 데이터를 사전과 연관 짓는 것이 유용한 대안이 될 수 있습니다.


---

# 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://primer2.dynamobim.org/ko/5_essential_nodes_and_concepts/5-5_dictionaries-in-dynamo/2-node-uses.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.
