MeshAssembly

A mesh assembly.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Settings for normal meshing

project.SolutionConfigurations[1].Frequency.Start = "1e06"

    -- Create geometry and mesh

project.Geometry:AddSphere(cf.Point(0,0,0),1)

project.Mesher:Mesh()
sphereMesh = project.Geometry["Sphere1"]:UnlinkMesh()

    -- Create a 'MeshAssembly'

meshAssembly = project.Meshes.Assemblies:Add()

    -- Add mesh to mesh assembly

meshAssembly:AddMesh(sphereMesh)

Property List

Label
The object label. (Read/Write string)
Type
The object type string. (Read only string)

Collection List

Children
The mesh operators in the assembly. (MeshAssemblyChildrenCollection of Mesh.)

Method List

AddMesh (mesh Mesh)
Adds the mesh operator to the assembly.
Delete ()
Deletes the assembly and the mesh contained in it.
Disassemble ()
Disassembles the assembly.
RemoveMesh (mesh Mesh)
Remove the mesh operator from the assembly.

Property Details

Label
The object label.
Type
string
Access
Read/Write
Type
The object type string.
Type
string
Access
Read only

Collection Details

Children
The mesh operators in the assembly.
Type
MeshAssemblyChildrenCollection

Method Details

AddMesh (mesh Mesh)
Adds the mesh operator to the assembly.
Input Parameters
mesh(Mesh)
The mesh to add to the assembly.
Delete ()
Deletes the assembly and the mesh contained in it.
Disassemble ()
Disassembles the assembly.
RemoveMesh (mesh Mesh)
Remove the mesh operator from the assembly.
Input Parameters
mesh(Mesh)
The mesh to remove from the assembly.