How to get deviations from the frame? CSI-ETABS (API),

I am trying to get the results from the frame element from Etabs, using C # I success to get the strength of the frame, but when I try to get the maximum deviation or offset of the frame element, I did not find the appropriate method for this, I just can finish the offset.

I need a procedure in which I can get the maximum def in the middle of the range or at any point in the range.

What is the code to get strength

ETABS2016.cOAPI etabsObj = null; try { var etabsObjO = System.Runtime.InteropServices.Marshal.GetActiveObject("CSI.ETABS.API.ETABSObject"); etabsObj = (ETABS2016.cOAPI)etabsObjO; } catch (Exception ex) { return new List<BarResult>(); } cSapModel model = etabsObj.SapModel; int NumberResults = 0; string[] Obj = null; double[] ObjSta = null; string[] Elm = null; double[] ElmSta = null; string[] LoadCase = null; string[] StepType = null; double[] StepNum = null; double[] P = null; double[] V2 = null; double[] V3 = null; double[] T = null; double[] M2 = null; double[] M3 = null; model.RespCombo.GetNameList(ref LoadCompNumberNames, ref LoadCompNames); model.LoadCases.GetNameList(ref LoadCasesNumberNames, ref LoadCasesNames); model.Results.Setup.DeselectAllCasesAndCombosForOutput(); foreach (var loadname in LoadCasesNames) { model.SetPresentUnits(eUnits.Ton_m_C); model.Results.Setup.SetCaseSelectedForOutput(loadname); model.Results.FrameForce(FrameName, eItemTypeElm.ObjectElm, ref NumberResults, ref Obj, ref ObjSta, ref Elm, ref ElmSta, ref LoadCase, ref StepType, ref StepNum, ref P, ref V2, ref V3, ref T, ref M2, ref M3); } 
+5
source share

Source: https://habr.com/ru/post/1272878/


All Articles