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