    

 ## 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))

Specifies the icon for use with this Assembly. The \* icon must be first registered with ModelCenter using the IModelCenter.addIcon() function.

#### Parameters

iconIDthe ID of the icon; -1 for the default icon