MeshEntity

A mesh entity forming part of a mesh.

Example

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

    -- Settings for normal meshing

project.SolutionSettings.SolverSettings.GeneralSettings.BasisFunctionSettings.HOBFEnabled = false
project.Mesher.Settings.WireRadius = "0.01"
advancedMeshSettings = project.Mesher.Settings.Advanced
advancedMeshSettings.CurvilinearSegments = cf.Enums.MeshCurvilinearOptionsEnum.Disabled

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

    -- Create geometry and mesh
    
project.Geometry:AddLine(cf.Point(0, 0, 0), cf.Point(0, 0, 10))
project.Mesher:Mesh()
project.Geometry["Line1"]:UnlinkMesh()

    -- Obtain the 'MeshEntity' that represent the mesh segment wire
    
mesh = project.Meshes["Line1_1"]    
segmentWires = mesh.SegmentWires
meshEntity = segmentWires["Wire1"]

Inheritance

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

Usage locations (object properties)

The following objects have properties using the MeshEntity object:

Property List

Label
The object label. (Read/Write string)
Part
The mesh part that this entity belongs to. (Read only Mesh)

Method List

Delete ()
Delete the MeshEntity.

Property Details

Label
The object label.
Type
string
Access
Read/Write
Part
The mesh part that this entity belongs to.
Type
Mesh
Access
Read only

Method Details

Delete ()
Delete the MeshEntity.