Skip to main content

ModelCenter APIs 2025 R2

getAssemblyStyle

Last update: 16.07.2025

abstract fun 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