Skip to content

Commit

Permalink
🐛 add section in a deserialised model without beam
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Pellegrino committed Sep 11, 2024
1 parent e102197 commit 871b0f8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FemDesign.Core/Loads/Loads/Loads.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 4 additions & 0 deletions FemDesign.Core/Model/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@ private bool FictShellInModel(ModellingTools.FictitiousShell obj)
/// </summary>
private void AddComplexSection(Sections.ComplexSection complexSection, bool overwrite)
{
if (this.Sections == null)
{
this.Sections = new Sections.ModelSections();
}
// in model?
bool inModel = this.ComplexSectionInModel(complexSection);

Expand Down
7 changes: 7 additions & 0 deletions femdesign-api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 871b0f8

Please sign in to comment.