Creates a gutter along a reference.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public Gutter NewGutter( GutterType GutterType, Reference reference )
Parameters
- GutterType GutterType
- The type of the gutter to create
- reference Reference
- A planar line or arc that represents the place where you want to place the gutter.
Return Value
GutterIf successful a new gutter object within the project, otherwise null.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the gutter type does not exist in the given document. |