MeshTriangles
The list of mesh triangles.
Example
app = pf.GetApplication() app:NewProject() app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]]) -- Obtain a handle to the mesh model and its points model = app.Models["startup"] mesh = model.Configurations[1].Mesh points = mesh.Points -- Obtain a handle to the 'MeshTriangles' meshTriangles = mesh.TriangleFaces[1].Triangles -- Get the number of mesh triangles meshTriangleCount = meshTriangles.Count
Usage locations
The MeshTriangles object can be accessed from the following locations:
- Properties
- MeshTriangleFace object has property Triangles.
Property List
Index List
- [number]
- Returns the Triangle at the given index. (Read MeshTriangle)