# void Obj::AddToGroup(str)

[Family: Obj](/imperivm/en/CKS/familias/obj/)

## Exact signature

```text
void Obj::AddToGroup(str)
```

## Description

Adds the object to a named group, creating the group if necessary.

## Parameters and return type

**Return type:** `void`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `str` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-79d19b3a6f606b.md)
- [JSON](/imperivm/CKS/api/entries/api-79d19b3a6f606b?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
