NewGutter Method (GutterType, Reference)


Creates a gutter along a reference.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public Gutter NewGutter(
	GutterType GutterType,
	Reference reference
)
Visual Basic
Public Function NewGutter ( _
	GutterType As GutterType, _
	reference As Reference _
) As Gutter
Visual C++
public:
Gutter^ NewGutter(
	GutterType^ GutterType, 
	Reference^ reference
)

Parameters

GutterType
Type: Autodesk.Revit.DB.ArchitectureGutterType
The type of the gutter to create
reference
Type: Autodesk.Revit.DBReference
A planar line or arc that represents the place where you want to place the gutter.

Return Value

If successful a new gutter object within the project, otherwise a null reference (Nothing in Visual Basic).

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentExceptionThrown if the gutter type does not exist in the given document.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →