示例#1
0
 public static bool IsConnection(Element elem)
 {
     return
         (AGCInstance.IsInstance(elem) &&
          elem.Category.Name.Equals(RevitCategoryUtil.ConnectionCategoryName));
 }
示例#2
0
 public static bool IsWallInPlace(Element elem)
 {
     return
         (AGCInstance.IsInstance(elem) &&
          elem.Category.Name.Equals(RevitCategoryUtil.WallCategoryName));
 }
示例#3
0
 public static bool IsMass(Element elem)
 {
     return
         (AGCInstance.IsInstance(elem) &&
          elem.Category.Name.Equals(RevitCategoryUtil.MassCategoryName));
 }
示例#4
0
 public static bool IsFrame(Element elem)
 {
     return
         (AGCInstance.IsInstance(elem) &&
          elem.Category.Name.Equals(RevitCategoryUtil.StructuralFramingCategoryName));
 }
示例#5
0
 public static bool IsColumnBase(Element elem)
 {
     return
         (AGCInstance.IsInstance(elem) &&
          elem.Category.Name.Equals(RevitCategoryUtil.StructuralColumnCategoryName));
 }