BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 15 forks source link

BHoM_Engine: Create.EngineType only works for matching fully qualified types #3386

Closed pawelbaran closed 3 months ago

pawelbaran commented 3 months ago

Description:

Currently Create.Type method has the ability to match types based on their unqualified names, i.e. Type.FullName rather than Type.AssemblyQualifiedName: https://github.com/BHoM/BHoM_Engine/blob/f1e91381d8918eed3dd173d815f360c0bc9723ae/BHoM_Engine/Create/Type/Type.cs#L57

This is a powerful feature extremely helpful in case of multi-version builds producing many assemblies with same/similar types, e.g. Revit code. The same is needed in Create.EngineType to enable versioning of Revit engine assemblies.

FYI @adecler @IsakNaslundBh