Skip to content

Commit

Permalink
Merge pull request #56 from Rebecca-Coding21/rebecca_example_fix
Browse files Browse the repository at this point in the history
Update Examples to latest webservice version
  • Loading branch information
jarabroz authored May 22, 2024
2 parents c41d594 + 3cef727 commit 872c833
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions examples/Cantilever/Cantilever.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dlubal.RFEMWebServiceLibrary" Version="6.5.5" />
<PackageReference Include="NLog" Version="5.0.4" />
</ItemGroup>

<ItemGroup Condition="$(DefineConstants.Contains('RFEM'))">
<ProjectReference Include="..\..\source_code\RFEMWebServiceLibrary\RFEMWebServiceLibrary.csproj" />
</ItemGroup>

<ItemGroup Condition="$(DefineConstants.Contains('RSTAB'))">
<ProjectReference Include="..\..\source_code\RSTABWebServiceLibrary\RSTABWebServiceLibrary.csproj" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/Cantilever/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,8 @@ static void Main(string[] args)

#if RFEM
#region generate mesh and get mesh statistics
calculation_message[] meshGenerationMessage = model.generate_mesh(true);
if (meshGenerationMessage.Length != 0)
calculation_result meshGenerationResult = model.generate_mesh(true);
if (!meshGenerationResult.succeeded || !String.IsNullOrEmpty(meshGenerationResult.messages) || meshGenerationResult.errors_and_warnings.Any())
{
}
mesh_statistics_type mesh_Statistics = model.get_mesh_statistics();
Expand Down
2 changes: 1 addition & 1 deletion examples/ConcreteDesign/ConcreteDesign.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dlubal.RFEMWebServiceLibrary" Version="6.4.4" />
<PackageReference Include="Dlubal.RFEMWebServiceLibrary" Version="6.5.5" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion examples/ConcreteDesign/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ public static void Main(string[] args)
}

// generate mesh
calculation_message[] meshGenerationMessage = model.generate_mesh(true);
calculation_result meshGenerationResult = model.generate_mesh(true);

model.calculate_all(true);

Expand Down

0 comments on commit 872c833

Please sign in to comment.