diff --git a/FemDesign.Core/Loads/Loads/Loads.cs b/FemDesign.Core/Loads/Loads/Loads.cs index df5e816c..ee0066c5 100644 --- a/FemDesign.Core/Loads/Loads/Loads.cs +++ b/FemDesign.Core/Loads/Loads/Loads.cs @@ -104,6 +104,10 @@ public partial class Loads objs.AddRange(this.SurfaceTemperatureLoads); objs.AddRange(this.FootfallAnalysisData); objs.AddRange(this.Masses); + objs.Add(this.ExcitationForce); + objs.Add(this.PeriodicExcitations); + //objs.Add(this.GroundAccelerations); + //objs.Add(this.SeismicLoads); return objs; } diff --git a/FemDesign.Core/Model/Model.cs b/FemDesign.Core/Model/Model.cs index ecb10017..ae34e597 100644 --- a/FemDesign.Core/Model/Model.cs +++ b/FemDesign.Core/Model/Model.cs @@ -704,6 +704,10 @@ private bool FictShellInModel(ModellingTools.FictitiousShell obj) /// private void AddComplexSection(Sections.ComplexSection complexSection, bool overwrite) { + if (this.Sections == null) + { + this.Sections = new Sections.ModelSections(); + } // in model? bool inModel = this.ComplexSectionInModel(complexSection); diff --git a/femdesign-api.sln b/femdesign-api.sln index 7691b732..3b93a10b 100644 --- a/femdesign-api.sln +++ b/femdesign-api.sln @@ -69,6 +69,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Practical example - Optimis EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example 8 - SlabReinforcement", "FemDesign.Examples\C#\Example 8 - SlabReinforcement\Example 8 - SlabReinforcement.csproj", "{BEC4FB61-E232-4680-8B90-F154BF3C5884}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleAppForDebug", "FemDesign.Examples\C#\ConsoleAppForDebug\ConsoleAppForDebug.csproj", "{57F387DD-BD22-481E-8489-9AEC7CD6F67D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -154,6 +156,10 @@ Global {BEC4FB61-E232-4680-8B90-F154BF3C5884}.Debug|Any CPU.Build.0 = Debug|Any CPU {BEC4FB61-E232-4680-8B90-F154BF3C5884}.Release|Any CPU.ActiveCfg = Release|Any CPU {BEC4FB61-E232-4680-8B90-F154BF3C5884}.Release|Any CPU.Build.0 = Release|Any CPU + {57F387DD-BD22-481E-8489-9AEC7CD6F67D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {57F387DD-BD22-481E-8489-9AEC7CD6F67D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {57F387DD-BD22-481E-8489-9AEC7CD6F67D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {57F387DD-BD22-481E-8489-9AEC7CD6F67D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -181,6 +187,7 @@ Global {0FB2E28B-8C5B-49C4-98B3-E34B6EE9F2FF} = {C68FA42C-7B20-4FE3-AED6-8B6619EE5410} {5425BE85-A616-4DC7-8E80-CB124C8320EC} = {C68FA42C-7B20-4FE3-AED6-8B6619EE5410} {BEC4FB61-E232-4680-8B90-F154BF3C5884} = {C68FA42C-7B20-4FE3-AED6-8B6619EE5410} + {57F387DD-BD22-481E-8489-9AEC7CD6F67D} = {C68FA42C-7B20-4FE3-AED6-8B6619EE5410} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {DDF9D949-F79B-4EA6-A766-976B0BE0BC79}