    

 ## On this page

  

 

 # setIconID

 Last update: 30.07.2026 

public [setIconID](set-icon-i-d.md)(iconID: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))

specified the icon for use with this Group. The icon must be first registered with ModelCenter using the IModelCenter.addIcon() function

#### Parameters

iconIDthe id of the icon. -1 for the default icon