    

 ## On this page

  

 

 # AssemblyStyle

 Last update: 30.07.2026 

enum [AssemblyStyle](index.md)

Ways to display an assembly.

## Entries

[Collapsed](-collapsed/index.md)[Collapsed](-collapsed/index.md)  
Collapse the assembly. Not allowed for the model.[Expanded](-expanded/index.md)[Expanded](-expanded/index.md)  
Expand the assembly. No effect for the model.[Classic](-classic/index.md)[Classic](-classic/index.md)  
Set to classic view. Only valid for data-driven assemblies.[NSquared](-n-squared/index.md)[NSquared](-n-squared/index.md)  
Set to N^2 view. Only valid for data-driven assemblies.[AutoNSquared](-auto-n-squared/index.md)[AutoNSquared](-auto-n-squared/index.md)  
Set to auto-N^2 view. Only valid for data-driven assemblies.## Functions

NameSummary[valueOf](value-of.md)public [valueOf](value-of.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [ModelCenter.AssemblyStyle](index.md)  
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)[values](values.md)public [values](values.md)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)&lt;[ModelCenter.AssemblyStyle](index.md)&gt;  
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.