Skip to main content

ModelCenter APIs 2026 R1 SP03

getAssemblyStyle

Last update: 30.07.2026

public getAssemblyStyle(assemblyName: String): ModelCenter.AssemblyStyleInfo

Get the visual style of an assembly. This method can be used to get information about any control with children, including IF blocks, traditional assemblies, drivers (in process mode), sequences, and parallel blocks. The style in the returned data will either be Expanded or Collapsed, except for expanded data-driven assemblies, which will have more detailed information.

Return

the style information

Parameters

assemblyName the full name of the assembly to modify

Connect with Ansys