Skip to main content

ModelCenter APIs 2026 R1 SP03

AssemblyStyle

Last update: 30.07.2026

enum AssemblyStyle

Ways to display an assembly.

Entries

Collapsed Collapsed
Collapse the assembly. Not allowed for the model.
Expanded Expanded
Expand the assembly. No effect for the model.
Classic Classic
Set to classic view. Only valid for data-driven assemblies.
NSquared NSquared
Set to N^2 view. Only valid for data-driven assemblies.
AutoNSquared AutoNSquared
Set to auto-N^2 view. Only valid for data-driven assemblies.

Functions

Name Summary
valueOf public valueOf(name: String): ModelCenter.AssemblyStyle
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 public values(): Array<ModelCenter.AssemblyStyle>
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.

Connect with Ansys