Skip to main content

ModelCenter APIs 2026 R1 SP03

createAssembly

Last update: 30.07.2026

public createAssembly(name: String, parent: String): Assembly

creates an assembly

Return

an Assembly object

Parameters

name the name of the assembly to be created
parent the name of the parent assembly

public createAssembly(name: String, parent: String, assemblyType: String): Assembly

creates an assembly

Return

an Assembly object

Parameters

name the name of the assembly to be created
parent the name of the parent assembly
assemblyType the type of assembly to create: ASSEMBLY_TYPE_ASSEMBLY - traditional ModelCenter assembly The following additional assembly types are available in ModelCenter process models (i.e. modelType == MODEL_TYPE_PROCESS) ASSEMBLY_TYPE_SEQUENCE - sequential flow ASSEMBLY_TYPE_IF - if-then-else flow ASSEMBLY_TYPE_FOR_EACH - loop over a data array

Connect with Ansys