Version 1.2.0 |
[This is preliminary documentation and is subject to change.]
This version has been released on 2020-09-29.
While the majority of the changes are located in the other modules (Excel specifically), there are some noteworthy changes made to the ADM module.
One of the bigger ones is that we have extracted the geometry part from the BIM+ module into a separate package, placed under the new Infrastructure namespace.
We have done this because we needed the geometry functionality to properly be able to calculate the area of surfaces, openings and regions.
Here are the objects that have been added in this release.
IHasArea: A marker interface used to indicate that an object has an Area property
IHasLength: A marker interface used to indicate that an object has a Length property
CalculationControl: Enumeration used to control the new IAreaCalculationService and ILengthCalculationService services.
Here are the objects that have been changed in this release.
IgnoredObject: Added StructuralCurveMemberVarying value.
RibAlignment: Renamed Center to Centre so that is aligned with other alignment enums, which also use centre. The integer value remained the same.
Updated the CalculateArea method so that it works correctly, even with non-straight surfaces.
Added the CalculateLength method, which calculates the length from a list of curves.
Added the ToGeometryCurve method, which converts an ADM curve to a geometry curve.
ICoordinateExtensions: Added ToGeometryPoint methods to convert ICoordinate objects to geometry points.
StructuralCurveMember: Marked with IHasLength interface.
StructuralCurveMemberRib: Marked with IHasLength interface.
StructuralProxyElement: Layer is now set to 'StructuralProxyElement' by default. It used to be NULL
StructuralSurfaceMember: Marked with IHasArea interface.
StructuralSurfaceMemberOpening: Marked with IHasArea interface.
StructuralSurfaceMemberRegion: Marked with IHasArea interface.
Here are the objects that have been deleted in this release.
Member2DThicknessType has been deleted as it wasn't being used anymore for a long time. It was replaced by MemberThicknessTPoint
IAreaCalculationService: Service that can be used to calculate the Area property of objects that implement IHasArea. In case of surfaces with openings, the area of the openings will be deducted from the area of the surface.
ILengthCalculationService: Service that can be used to calculate the Length property of objects that implement IHasLength.
The Compare(AnalysisModel, AnalysisModel) has been updated with an overload that accepts a list of types to be skipped during comparison. This is useful when comparing 2 models that originated from different modules and in which the same amount of data cannot be guaranteed. (e.g. ProjectInformation and ModelInformation when importing from BIM+ compared with data imported from Excel)