GetMesh Method


Mesh From Geometry Operation Result Get Mesh Method

This returns a valid mesh only for the first call. Later calls will throw an exception as the mesh is no longer valid in this object.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Mesh GetMesh()

Return Value

Mesh
Mesh which built.
Exceptions
Exception Condition
InvalidOperationException The Mesh has already been accessed by a previous GetMesh() call, and is no longer available for use.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →