Skip to main content

ModelCenter APIs 2026 R1 SP03

createAssemblyVariable

Last update: 30.07.2026

public createAssemblyVariable(name: String, type: String, parent: String): Variable

creates an assembly variable

Return

a Variable object

Parameters

name Name of the new variable to create.
type Type of the new variable. Possible types are: double, int, string, file, double[], int[], boolean[], string[], quadfacet, surfaceofrevolution, nurbs, bspline, ruled, skinned, vrml, node
parent the name of the parent assembly

Connect with Ansys