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

Element.IsCreatedPhaseOrderValid

Method
Description:
Returns true if createdPhaseId and demolishedPhaseId are in order.
Syntax
public bool IsCreatedPhaseOrderValid(
	ElementId createdPhaseId
)
Parameters
Parameter Type Description
createdPhaseId ElementId The createdPhaseId.
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