RVTDocs.com
Namespace: Autodesk.Revit.DB Class: BRepBuilder

BRepBuilder.GetResult

Method
Description:
Get the built by this BRepBuilder. This will clear the built geometry stored in the BRepBuilder. This function will throw if this BRepBuilder hasn't completed building the b-rep.
Syntax
public Solid GetResult()
Exceptions
Exception Condition
InvalidOperationException This BRepBuilder object hasn't completed building data or was unsuccessful building it. Built Geometry is unavailable. In order to access the built Geometry, Finish() must be called first. That will set the state to completed.