IsResultAvailable Method


A validator function that checks the state of this BRepBuilder object. Returns true if this BRepBuilder object has successfully built a b-rep.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2016

Syntax

C#
public bool IsResultAvailable()
Visual Basic
Public Function IsResultAvailable As Boolean
Visual C++
public:
bool IsResultAvailable()

Return Value

True if this BRepBuilder object has successfully built a b-rep.

Remarks

The b-rep object may be retrieved via GetResult(). Use this function before calling GetResult() to avoid an exception being thrown.

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 →