> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/marketplace-pacotes-e-power-ups/power-ups/gestao-de-objetos/usar-objetos-pai-e-filho.md).

# Usar Objetos pai e filho

Objetos pai e filho ajudam você a modelar instalações com vários níveis.

Isso é útil para locais com layouts estruturados de equipamentos.

### Quando usar hierarquias de Objeto

Use relações pai-filho quando:

* uma instalação contém vários Objetos relacionados
* técnicos precisam de contexto por sub-Objeto
* você quer uma estrutura mais clara por local ou sistema

{% stepper %}
{% step %}

### Abra o Objeto filho

Crie ou abra o Objeto que deve ficar abaixo de outro Objeto.
{% endstep %}

{% step %}

### Selecione o Objeto pai

Use o campo pai para escolher o Objeto de nível superior.
{% endstep %}

{% step %}

### Salve a relação

Salve o Objeto.

A hierarquia agora está armazenada.
{% endstep %}

{% step %}

### Revise a estrutura

Abra o Objeto pai e verifique os Objetos filho vinculados.
{% endstep %}
{% endstepper %}

### Exemplos práticos

* edifício → instalação → unidade
* local → sala → dispositivo
* máquina principal → subsistema conectado

### Perguntas frequentes

<details>

<summary>Um Objeto filho pode ter vários pais?</summary>

Não.

Um Objeto filho normalmente pertence a um Objeto pai.

</details>

<details>

<summary>Toda configuração deve usar vários níveis?</summary>

Não.

Use hierarquia apenas quando ela tornar a estrutura mais fácil de gerenciar.

</details>

<details>

<summary>Os links pai-filho ajudam na navegação?</summary>

Sim.

Eles tornam instalações complexas mais fáceis de entender.

</details>

### Tópicos relacionados

* [**Gerencie partes do Objeto**](/outsmart-knowledge-base/outsmart-knowledge-base-pt/marketplace-pacotes-e-power-ups/power-ups/gestao-de-objetos/gerir-partes-do-objeto.md)
* [**Gestão de Objetos**](/outsmart-knowledge-base/outsmart-knowledge-base-pt/marketplace-pacotes-e-power-ups/power-ups/gestao-de-objetos.md)


---

# 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://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/marketplace-pacotes-e-power-ups/power-ups/gestao-de-objetos/usar-objetos-pai-e-filho.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.
