Revit 2026 API
BRep |
Indicates that the caller has finished defining the given loop.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void FinishLoop( BRepBuilderGeometryId loopId )
Public Sub FinishLoop ( loopId As BRepBuilderGeometryId )
public: void FinishLoop( BRepBuilderGeometryId^ loopId )
member FinishLoop : loopId : BRepBuilderGeometryId -> unit
Parameters
- loopId BRepBuilderGeometryId
- Id of the loop.

Exception | Condition |
---|---|
ArgumentException | The supplied loop id doesn't correspond to a loop stored in this BRepBuilder object. -or- FinishLoop() has already been called on loopId. -or- The edge loop has fewer than two co-edges. |
ArgumentNullException | A non-optional argument was null |

No functions that modify the given loop's definition should be called after calling this function (e.g., AddCoEdge(BRepBuilderGeometryId, BRepBuilderGeometryId, Boolean)).
The BRepBuilder may take the opportunity to validate some of the loop's data and report any problems it finds.
See Also