---
title: "renameShelfGroup"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738054/renameShelfGroup"
format: markdown
---
# Description

Uses renameShelfGroup to rename a shelf group from "nameFrom" to "nameTo".

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `renameShelfGroup "tabName" "nameFrom" "nameTo"` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `tabName` | string | Yes | The string name of the tab |
| `nameFrom` | string | Yes | The old name of the shelf group to be renamed |
| `nameTo` | string | Yes | The new string name of the shelf group |

### Flags

None

## Return value

void

# Additional information

## Related commands

- [createShelfGroup](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737752)
- [deleteShelfGroup](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738119)