Closed
Description
Description:
As in the title, if there is a few engine types matching the unqualified name, an arbitrary first one is returned:
BHoM_Engine/BHoM_Engine/Create/Type/EngineType.cs
Lines 81 to 82 in d1fa990
Instead, a first one after sorting should be returned, as already fixed in Create.Type
:
BHoM_Engine/BHoM_Engine/Create/Type/Type.cs
Lines 82 to 90 in d1fa990
The above results in versioning issues in case of fallbacks based on unqualified name. Fix should be as easy as copy-pasting the code from Create.Type
to Create.EngineType
.