    

 ## On this page

  

 

 # getGroup

 Last update: 30.07.2026 

public [getGroup](get-group.md)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [Group](./../-group/index.md)

gets the specified group

#### Return

the specified group

#### Parameters

indexthe group index (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [getGroup](get-group.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Group](./../-group/index.md)

gets the specified group

#### Return

the specified group

#### Parameters

namethe variable name#### Throws

[ModelCenterException](./../-model-center-exception/index.md)