Generate Seismic Load (ELF method) by API

Generate Seismic Load (ELF method) by API

tuonguyen39HYC
Participant Participant
237 Views
1 Reply
Message 1 of 2

Generate Seismic Load (ELF method) by API

tuonguyen39HYC
Participant
Participant

Is there any way to generate seismic load combination (ELF method) by API in Robot ? I would appreciate if there is any help for this case

tuonguyen39HYC_0-1712224776407.png

 

0 Likes
238 Views
1 Reply
Reply (1)
Message 2 of 2

Stephane.kapetanovic
Mentor
Mentor

hi @tuonguyen39HYC 

you should read these topics first : 

[EC8 & Python code] , (API) Analysis parameters - Combination Sign - Changing spectral case main mode , RSA : API - Algorithme de Lanczos par blocs 

Best Regards

 

Lastest Version

RobApp = new RobotApplication(); if (!IsReady(ref RobApp)) return;
RobotProject Project = RobApp.Project;
RobotCaseServer Cases = Project.Structure.Cases;

// Preferences
RobotProjectPreferences Preferences = Project.Preferences;
//string codetxt = Preferences.GetActiveCode(IRobotCodeType.I_CT_SEISMIC_LOADS);
Preferences.SetActiveCode(I_CT_SEISMIC_LOADS, "ASCE 7-10");

// Seismic Case
RobotSimpleCase RCase;
RCase = Cases.CreateSimple(Cases.FreeNumber, "Modal", I_CN_PERMANENT, I_CAT_DYNAMIC_MODAL);
RCase = Cases.CreateSimple(Cases.FreeNumber, "Seismic", I_CN_SEISMIC, I_CAT_STATIC_ELF_SEISMIC);
string code = RCase.GetSeismicCode();
IRobotSELFSeismic_ASCE_7_10_Params ASCE_7_10_Params = RCase.GetAnalysisParams();
//ASCE_7_10_Params.SiteClass = I_SSSCT_ASCE_7_10_D;
//ASCE_7_10_Params.StructureTypeX = I_SSST_ASCE_7_10_STEEL_FRAMES;
//ASCE_7_10_Params.I = 1;
//ASCE_7_10_Params.Ss = 1;
//ASCE_7_10_Params.S1 = 1;
//ASCE_7_10_Params.TL = 12;
//ASCE_7_10_Params.R = 8;
RCase.SetAnalysisParams(ASCE_7_10_Params);

RobApp = null;

 

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature
0 Likes