MeshCubeRegion

A mesh entity representing a region meshed with cubes.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Cube_example1.fek]])
sConf = app.Models["Cube_example1"].Configurations[1]
mesh = sConf.Mesh

    -- Get a 'MeshCubeRegion' of a specified mesh entity

meshCubeRegion = mesh.CubeRegions[1]

    -- Get the label of the 'MeshCubeRegion' and the number of 'Cubes' 
    -- contained the 'MeshCubeRegion'.

label = meshCubeRegion.Label
count = meshCubeRegion.Cubes.Count

Inheritance

The MeshCubeRegion object is derived from the MeshEntity object.

Property List

Cubes
The collection of mesh cubes that form the mesh cube region. (Read only MeshCubes)
Label
The object label. (Read only string)
Type
The object type string. (Read only string)

Property Details

Cubes
The collection of mesh cubes that form the mesh cube region.
Type
MeshCubes
Access
Read only
Label
The object label.
Type
string
Access
Read only
Type
The object type string.
Type
string
Access
Read only