Document.NewGutter(GutterType, Reference) Method

DocumentNewGutter(GutterType, Reference) Method

Creates a gutter along a reference.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public Gutter NewGutter(
	GutterType GutterType,
	Reference reference
)
Public Function NewGutter ( 
	GutterType As GutterType,
	reference As Reference
) As Gutter
public:
Gutter^ NewGutter(
	GutterType^ GutterType, 
	Reference^ reference
)
member NewGutter : 
        GutterType : GutterType * 
        reference : Reference -> Gutter 

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

Gutter
If successful a new gutter object within the project, otherwise .
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the gutter type does not exist in the given document.
See Also