Пример #1
0
 public static bool IsBeam(Element elem)
 {
     return
         (AGCFrameCurveDriven.IsFrameCurveDriven(elem) &&
          StructuralType.Beam == (elem as FamilyInstance).StructuralType &&
          AGCFrameCurveDriven.TypicalFramingParametersExist(elem));
 }
Пример #2
0
 public static bool IsFrameInPlace(Element elem)
 {
     return
         (AGCFrameBase.IsFrame(elem) &&
          elem.Location is LocationPoint &&
          !AGCFrameCurveDriven.TypicalFramingParametersExist(elem));
 }