public static GCFrameBeam CreateBrace(GCRevitDocument doc, XYZ p1, XYZ p2, FamilySymbol sym, GCLevel lev) { var inst = CreateFrameByStructuralType(doc, p1, p2, sym, lev, StructuralType.Brace); return(GCFrameBeam.CreateGCFrameBeam(inst)); }
public static GCFrameBeam CreateBrace(GCRevitDocument doc, Curve crv, FamilySymbol sym) { var inst = CreateFrameByStructuralType(doc, crv, sym, StructuralType.Brace); return(GCFrameBeam.CreateGCFrameBeam(inst)); }
public static GCFrameBeam CreateBeam(GCRevitDocument doc, Curve crv, FamilySymbol sym, GCLevel lev) { var inst = CreateFrameByStructuralType(doc, crv, sym, lev, StructuralType.Beam); return(GCFrameBeam.CreateGCFrameBeam(inst)); }