Structure_Engine: Create result without pulling from software
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
Currently, `IResult` objects implement `IImmutable` and therefore have one or more specific constructor in the class definition itself. However, these constructor don't seem to appear in the main BHoM UIs, therefore there isn't any possibility for the users to instantiate them if required. We think there could be a good use case to allow the creation of `IResults` from BHoM UIs, for example exposing `Create` methods for them.
This would be useful in particular workflows that we've already encountered. In particular, we'd like to instantiate Results to work with results from calculations that have been done in a software that currently doesn't support the pull of Results, like happens for the RFEM_Adapter. In this case, the RFEM does support exporting results from its UI, i.e. they can be exported in a CSV/spreadsheet. In this case, we would benefit from mapping the exported results to BHoM results, so we can apply to them the many BHoM methods that help process `IResult` objects.
We are currently working around this limitation by using a C# script component where the `IResult` constructor is called to instantiate results.
We've discussed this with @alelom who agrees it could be a good argument for developing `Create` methods for `IResult` classes in the Structure_Engine.
Contributor guide
Assessment
This issue has not been assessed yet.