Skip to main content

ModelCenter APIs 2025 R1

createAssemblyVariable

Last update: 16.07.2025

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