Example #1
0
 public static bool IsFilterEnabled(global::Revit.Elements.Views.View view, global::Revit.Elements.Element viewFilter)
 {
     try
     {
         Autodesk.Revit.DB.View internalView = view.InternalElement as Autodesk.Revit.DB.View;
         return(internalView.GetIsFilterEnabled(viewFilter.InternalElement.Id));
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }