Hello
I am trying to transform VBA code into Python from the example provided here: https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-seismic-case-definition/m-p/33578...
But I can't access the GetAnalysisParams() methods :
caseEdX = structure.Cases.CreateSimple(6, "Ed+X",
RobotOM.IRobotCaseNature.I_CN_SEISMIC ,
RobotOM.IRobotCaseAnalizeType.I_CAT_DYNAMIC_SEISMIC)
num_EdX1 = caseEdX.GetSeismicCode #is empty
#doesn't work num_EdX1 = caseEdX.Records.New(RobotOM.IRobotSeismicAnalysis_EC8_General_Params) #a validate
EC8params = caseEdX.GetAnalysisParams #is empty too
Can someone help me?
Thanks for any help
Xavier
Hello
Thanks to @Stephane.kapetanovic and @JacquesGaudin for their solution.
One partial (not defintitive ?) solution they found is to :
Preferences.SetActiveCode(RobotOM.IRobotCodeType.I_CT_SEISMIC_LOADS, "EN 1998-1:2004/A1:2013")
EC8.Ag = 0.4
EC8.BehaviorFactor = 1
and so on...
Does anyone have an idea or tip ?
Thanks
Xavier
@Romanich @xroguiez @okapawal @Rafal.Gaweda
Would you be able to confirm whether "NF EN 1998-1/NA:2013 DECEMBRE 2013" is implemented in the API? It looks like it isn't, but hard to know without someone from Autodesk confirming.
Thanks.
Hi @gwizdzm,
I hope you're well.
@xroguiez was trying to use the following code for seismic load "NF EN 1998-1/NA:2013 DECEMBRE 2013" and it seems that it isn't implemented in the API.
Would you be able to confirm whether it's already implemented or if we just need to be patient for a little while?
Thanks.
Jacques
At the moment I can't say when EC8 will be available via API. I'm sending your ask to person responsible for range of development in the next version. He will answer you soon but because of his days off, probably after New Year.
Best Regards
Michal
Can't find what you're looking for? Ask the community or share your knowledge.