示例#1
0
 /// <summary>
 /// Set up rule name, description, and error handling
 /// </summary>
 public FlippedDoorCheck()
 {
     m_name          = "Flipped Door Check";
     m_description   = "An API-based rule to search for and return any doors that are face-flipped";
     m_doorWarningId = new Autodesk.Revit.DB.FailureDefinitionId(new Guid("25570B8FD4AD42baBD78469ED60FB9A3"));
     m_doorWarning   = Autodesk.Revit.DB.FailureDefinition.CreateFailureDefinition(m_doorWarningId, Autodesk.Revit.DB.FailureSeverity.Warning, "Some doors in this project are face-flipped.");
 }
示例#2
0
 /// <summary>
 /// Set up rule name, description, and error handling
 /// </summary>
 public FlippedDoorCheck()
 {
     m_name = "Flipped Door Check";
     m_description = "An API-based rule to search for and return any doors that are face-flipped";
     m_doorWarningId = new Autodesk.Revit.DB.FailureDefinitionId(new Guid("25570B8FD4AD42baBD78469ED60FB9A3"));
     m_doorWarning = Autodesk.Revit.DB.FailureDefinition.CreateFailureDefinition(m_doorWarningId, Autodesk.Revit.DB.FailureSeverity.Warning, "Some doors in this project are face-flipped.");
 }