Generate ASCE7-10 (ASCE7-16) Seismic (ELF method) through API

Generate ASCE7-10 (ASCE7-16) Seismic (ELF method) through API

tuonguyen39HYC
Participant Participant
281 Views
1 Reply
Message 1 of 2

Generate ASCE7-10 (ASCE7-16) Seismic (ELF method) through API

tuonguyen39HYC
Participant
Participant

Hello,

I have some problems when I try coding to generate ASCE 7-10 Seismic following ELF method in API. Here is my code with C#, please help me debug or is there anyway to generate those seismic load types (see the attached picture) ? 

Any help much appreciated.

 

The code below:

 RobotSimpleCase RCase;
IRobotSELFSeismic_ASCE_7_10_Params ASParamms;
robotApp.Project.Preferences.SetActiveCode(IRobotCodeType.I_CT_SEISMIC_LOADS, "ASCE 7-10");
RCase = robotApp.Project.Structure.Cases.CreateSimple(robotApp.Project.Structure.Cases.FreeNumber, "Modal", IRobotCaseNature.I_CN_PERMANENT, IRobotCaseAnalizeType.I_CAT_DYNAMIC_MODAL);
RCase = robotApp.Project.Structure.Cases.CreateSimple(robotApp.Project.Structure.Cases.FreeNumber, "Seismic", IRobotCaseNature.I_CN_SEISMIC, IRobotCaseAnalizeType.I_CAT_STATIC_ELF_SEISMIC);
ASParamms = RCase.GetAnalysisParams();
ASParamms.I = 1;
ASParamms.Ss = 1;
ASParamms.S1 = 1;
ASParamms.TL = 12;
ASParamms.SiteClass = IRobotSELFSeismic_ASCE_7_10_SiteClassType.I_SSSCT_ASCE_7_10_D;
ASParamms.R = 8;
ASParamms.StructureTypeX = IRobotSELFSeismic_ASCE_7_10_StructureType.I_SSST_ASCE_7_10_STEEL_FRAMES;
RCase.SetAnalysisParams(ASParamms);

 

 2023-12-07_15-58-51.png

tuonguyen39HYC_0-1702001240210.png

 

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

Stephane.kapetanovic
Mentor
Mentor

hi @tuonguyen39HYC 

https://forums.autodesk.com/t5/robot-structural-analysis-forum/generate-seismic-load-elf-method-by-a...

Best Regards

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