protected void Btn_SAPAnalyzeDesign_Click(object sender, EventArgs e) { SAPAnalysisModel model; switch (code) { case DesignCodeEnum.ECP: model = new SAPAnalysisModel(); model.GenerateFrame(finalFrame, finalFrame.Name, false, true); if (finalFrame is HndzFrameSingleBay3D) { HndzFrameSingleBay3D frameE = finalFrame as HndzFrameSingleBay3D; HndzDesigner.AssembleSections(frameE); } // rebind grid view to new analysis results break; case DesignCodeEnum.AISC: model = new SAPAnalysisModel(); model.GenerateFrame(finalFrame, finalFrame.Name, true, true); break; default: break; } SaveFrameChanges(); CreateBIMModel(); // rebind grid view to new analysis results //HndzFrameSingleBay3D frame = finalFrame as HndzFrameSingleBay3D; //Grd_DesignSummary.DataSource = frame.Frames2D; //Grd_DesignSummary.DataBind(); Grd_DesignSummary.DataSource = ElementLoadsGridView(); Grd_DesignSummary.DataBind(); Grd_SectionSummary.DataSource = LoadSections(); Grd_SectionSummary.DataBind(); }
public static void Designer(HndzFrameSingleBay3D AnalyzedFrame) { HndzFrameSingleBay3D designedFrame = HndzDesigner.AssembleSections(AnalyzedFrame); }