MeshElement

The base class for mesh elements.

Example

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

    -- Settings for normal meshing

project.Mesher.Settings.WireRadius = "0.01"

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

    -- Create geometry, add a port and mesh
    
line = project.Geometry:AddLine(cf.Point(0, 0, 0), cf.Point(0, 0, 10))
project.Ports:AddWirePort(line.Wires[1])
project.Mesher:Mesh()
project.Geometry["Line1"]:UnlinkMesh()

    -- Obtain the 'MeshElement' where the port resides

wireMeshPort = project.Ports["Port1_1"]
meshElement = wireMeshPort.Segment

    -- Remove the port and delete the 'MeshElement'
    
wireMeshPort:Delete()    
meshElement:Delete()    

Inheritance

The following objects are derived (specialisations) from the MeshElement object:

Usage locations (object properties)

The following objects have properties using the MeshElement object:

Method List

Delete ()
Deletes the mesh element.

Method Details

Delete ()
Deletes the mesh element.