Generate EC wind loads by API
Not applicable
09-11-2012
01:02 AM
Hello,
I am trying to understand how to generate Eurocodes wind loads by API.
This how I proceed:
First I configure the project prefs
ProjectPrefs.SetActiveCode(IRobotCodeType.I_CT_SNOW_WIND_LOADS, "NF-EN 1991-1-3/4/NA:2007/2008")
Then I generate the loads
Dim SWCodeParams As RobotSWCodeECParams
Dim SWCombEngine As RobotSnowWindEngine
SWCombEngine = str.Cases.SnowWindEngine
SWCodeParams = SWCombEngine.CodeParams
SWCodeParams.StructureAge = 2
SWCombEngine.Params.TotalDepth = 15
SWCombEngine.Params.BaySpacing = 5
SWCombEngine.Generate()
I don't see how to configure SWCombEngine with SWCodeParams.
Your help would be very appreciated. Thanks in advance.
Francois
Link copied