Share

PhaseFilter.Create Method

Creates a new phase filter with default status presentation.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static PhaseFilter Create(
	Document document,
	string name
)

Parameters

document  Document
The document.
name  String
The name.

Return Value

PhaseFilter
The newly created phase filter.

Exceptions

ExceptionCondition
ArgumentException name is already in use.
ArgumentNullException A non-optional argument was null

Remarks

The default status presentation is ShowByCategory for New status, and ShowOverriden for Existing, Demolished and Temporary statuses.

See Also

Reference

Was this information helpful?