    

 ## On this page

  

 

 # createAssembly

 Last update: 30.07.2026 

public [createAssembly](create-assembly.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parent: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Assembly](./../-assembly/index.md)

creates an assembly

#### Return

an Assembly object

#### Parameters

namethe name of the assembly to be createdparentthe name of the parent assemblypublic [createAssembly](create-assembly.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parent: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), assemblyType: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Assembly](./../-assembly/index.md)

creates an assembly

#### Return

an Assembly object

#### Parameters

namethe name of the assembly to be createdparentthe name of the parent assemblyassemblyTypethe 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