> 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/cs/5_essential_nodes_and_concepts/5-5_dictionaries-in-dynamo/2-node-uses.md).

# Uzly slovníku

Aplikace Dynamo 2.0 nabízí několik uzlů pro slovníky. Mezi ně patří uzly pro *tvorbu, akci a dotazování*.

!

#### Tvorba

1\. Uzel `Dictionary.ByKeysValues` vytvoří slovník ze zadaných hodnot a klíčů. *(Počet položek bude odpovídat počtu položek nejkratšího seznamu.)*

#### Akce

2\. Uzel `Dictionary.Components` vytvoří komponenty ze vstupního slovníku. *(Operace opačná k vytvoření slovníku.)*

3\. Uzel `Dictionary.RemoveKeys` vytvoří nový objekt slovníku bez vstupních klíčů.

4\. Uzel `Dictionary.SetValueAtKeys` vytvoří nový slovník na základě vstupních klíčů a hodnot, které nahradí aktuální hodnotu u příslušných klíčů.

5\. Uzel `Dictionary.ValueAtKey` vrátí hodnotu na pozici vstupního klíče.

#### Dotaz

6\. Uzel `Dictionary.Count` vrátí počet dvojic hodnot a klíčů ve slovníku.

7\. Uzel `Dictionary.Keys` vrátí klíče aktuálně uložené ve slovníku.

8\. Uzel `Dictionary.Values` vrátí hodnoty aktuálně uložené ve slovníku.

Spojování dat ve slovnících může být užitečnou alternativou pro starý způsob práce s indexy a seznamy.


---

# 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/cs/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.
