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

Element.IsDemolishedPhaseOrderValid

Method
Description:
Returns true if createdPhaseId and demolishedPhaseId are in order.
Syntax
public bool IsDemolishedPhaseOrderValid(
	ElementId demolishedPhaseId
)
Parameters
Parameter Type Description
demolishedPhaseId ElementId The demolishedPhaseId.
Return Value
Type Description
Boolean True if createdPhaseId index is less than or equal to demolishedPhaseId, otherwise returns false.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null