internal static string GetPhaseStatus(ElementId element, ElementId phaseID) { var doc = DocumentManager.Instance.CurrentDBDocument; Autodesk.Revit.DB.Element elemId = doc.GetElement(element) as Autodesk.Revit.DB.Element; ElementOnPhaseStatus elemStat = elemId.GetPhaseStatus(phaseID); string phaseStatus = elemStat.ToString(); return(phaseStatus); }