Пример #1
0
 public static bool IsViewLive(Element elem)
 {
     return
         (AGCViewBase.IsViewBase(elem) &&
          (elem is View3D || elem is ViewPlan || elem is ViewSection));
 }
Пример #2
0
 public static bool IsViewLegend(Element elem)
 {
     return
         (AGCViewBase.IsViewBase(elem) &&
          ViewType.Legend == (elem as View).ViewType);
 }
Пример #3
0
 public static bool IsViewDrafting(Element elem)
 {
     return
         (AGCViewBase.IsViewBase(elem) &&
          elem is ViewDrafting);
 }
Пример #4
0
 public static bool IsViewSheet(Element elem)
 {
     return
         (AGCViewBase.IsViewBase(elem) &&
          ViewType.DrawingSheet == (elem as View).ViewType);
 }