RVTDocs.com
Namespace: Autodesk.Revit.DB Class: PhaseFilter

PhaseFilter.Create

Method
Description:
Creates a new phase filter with default status presentation.
Remarks:
The default status presentation is ShowByCategory for New status, and ShowOverriden for Existing, Demolished and Temporary statuses.
Syntax
public static PhaseFilter Create(
	Document document,
	string name
)
Parameters
Parameter Type Description
document Document The document.
name String The name.
Return Value
Type Description
PhaseFilter The newly created phase filter.
Exceptions
Exception Condition
ArgumentException name is already in use.
ArgumentNullException A non-optional argument was null