Version 0.8.0 |
[This is preliminary documentation and is subject to change.]
This version has been released on 2020-01-17.
UnitsNet upgraded from v3.112.0-2 (internal release) to v4.42.0
Newtonsoft.Json upgraded from v11.0.2 to v12.0.3
Here are the objects that have been changed in this release.
StructuralCrossSection: Deleted Dimensions property. It was marked as obsolete since 0.7.0
StructuralGeneralCrossSection: Fixed edge case crash for Profile property. It returns the Name property of the CompositeProfileDefinition, but there are cases in which Definition is NULL so it would crash.
StructuralMaterial: Changed property type of ThermalExpansion from double to UnitsNet's CoefficientOfThermalExpansion
StructuralCurveActionAbstractTDirection, TValue: Fixed IEquality implementation so that it uses UnitsNet's Equals method with comparison delta & absolute difference when comparing the properties Value1 and Value2.
StructuralCurveMomentTCurveStructuralReference: Fixed UnitsNet type used for 'Value1' and 'Value2 properties. It used to be Torque, which was wrong, and has been changed to TorquePerLength
StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection: Fixed IEquality implementation so that it uses UnitsNet's Equals method with comparison delta & absolute difference when comparing the Value property.
AnalysisModel: Added Infos property, which returns validation results with the new severity Info. These validation results are informational: they can be fixed but can be left as-is.
AnalysisModel: Updated implementation of GetValidationMessages method. It now returns the string in a slightly different and much better format than before.
ModelExchanger.AnalysisDataModel.Subtypes.CrossSectionShape.CrossSectionDimensions: Deleted this object, it was marked as obsolete since 0.7.0.
PointStructuralReferenceOnBeam: Updated IEquatable implementation so it uses UnitsNet's Equals method with comparison delta & absolute difference when comparing the properties AbsolutePositionX and AbsoluteDeltaX
ConstraintTStiffness: Updated IEquatable implementation so it uses UnitsNet's Equals method with comparison delta & absolute difference when comparing the Stiffness property when the type of stiffness is a UnitsNet type
ConstraintTStiffness, TResistance: Updated IEquatable implementation so it uses UnitsNet's Equals method with comparison delta & absolute difference when comparing the Resistance property when the type of stiffness is a UnitsNet type
ReinforcementDesignMagnitude1D: Added IEquatable implementation.
StructuralCurveConnection: Updated IEquatable implementation so it uses UnitsNet's Equals method with comparison delta & absolute difference when comparing the properties StartPointAbsolute and EndPointAbsolute
Updated validation for StructuralLoadCombination, property NationalStandard. Initially, we were checking if the value provided for NationalStandard was a valid enum value. It has been changed so that when Category is not AccordingNationalStandard, NationalStandard must be NULL. Additionally, when Category is AccordingNationalStandard then NationalStandard can not be NULL and must be valid enum value.
Updated validation for constraints. The type of constraint is now checked against a whitelist of enum values, depending on the constraint (translation or rotation)
IAnalysisModelItemDeleteService: Fixed issue when cascade deleting objects that referenced StructuralPointConnection.
IAnalysisModelService: Fixed issue with an object's validation state not being updated after running it through the Update method. Now it will set the validation state to Valid or Invalid, depending on the validation result. When valid, any validation results for that object's ID are removed.