Skip to content

SAP2000: Change IAverageThickness to ITotalThickness() #261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SAP2000_Adapter/CRUD/Read/Loads.cs
Original file line number Diff line number Diff line change
Expand Up @@ -863,12 +863,12 @@ private List<ILoad> ReadAreaUniformTemperatureLoad(List<string> ids = null)
{
try
{
double avgConstTemp = 0.5 * tempForce * bhomPanel.Property.IAverageThickness();
double avgConstTemp = 0.5 * tempForce * bhomPanel.Property.ITotalThickness();
tempForce = avgConstTemp;
}
catch { }

Engine.Base.Compute.RecordWarning("Temperature gradient not currently implemented in the BHoM. An attempt has been made to convert SAP2000's gradient to a constant temperature change.");
Engine.Base.Compute.RecordWarning("Temperature gradient not yet implemented. An attempt has been made to convert SAP2000's gradient to a constant temperature change.");
}

loads.Add(new AreaUniformTemperatureLoad()
Expand Down