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

Returns the type name of the of the active workspace view.

Shogun enables the user to select various types of view, e.g. 3D Scene, Front, NLE, Hierarchy, Graph, etc. This command returns a string giving the type of view for the currently selected or active view.

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getActiveViewType` |

### Arguments

None

### Flags

None

## Return value

integer

## Examples

```plaintext
// Prints the name of the active view type to the command line 
int $temp = `getActiveViewType`;
print $temp;
```

# Additional information

## Related commands

- [getActiveView](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738535)