MeshCubes

The list of mesh 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
meshCubeRegion = mesh.CubeRegions[1]

    --  Get the list of of the 'MeshCube's from the 'MeshCubeRegion'

meshCubes = meshCubeRegion.Cubes

    -- Query the number of cubes in the region

numberOfCubes = meshCubes.Count

Usage locations

The MeshCubes object can be accessed from the following locations:

Property List

Count
The number of cubes in the mesh entity. (Read only number)
Type
The object type string. (Read only string)

Index List

[number]
Returns the Cube at the given index. (Read MeshCube)

Property Details

Count
The number of cubes in the mesh entity.
Type
number
Access
Read only
Type
The object type string.
Type
string
Access
Read only