Exceptions in converts for PadFoundation and PileFoundation
Open
type:bug
- Dominant language
- C#
- Stars
- 35
- Forks
- 16
- Avg merge
- 7d 29m
- Merged PRs (30d)
- 2
Description
#### Description:
#1579 introduced a more precise mechanism to distinguish between different types of foundations in `BHoMType` method, which means that for a typical pile, it returns `typeof(Pile)`, and accordingly for pad and pile foundations. That works well. However, the improvement causes an exception downstream because `ConvertMethod` does not find correspondent convert methods for `PileFoundation` and `PadFoundation` because they simply do not exist. So we need a temp fix that will make `BHoMType` return `null` for nonexistent types until they get properly implemented.
Contributor guide
Assessment
This issue has not been assessed yet.