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.
Usage locations
The MeshCubeRegion object can be accessed from the following locations:
- Methods
- MeshCubeRegionCollection collection has method Items().
- MeshCubeRegionCollection collection has method Item(number).
- MeshCubeRegionCollection collection has method Item(string).