Open IsakNaslundBh opened 1 month ago
Related to https://github.com/BHoM/BHoM/issues/1642
Add a couple of lines to this method:
https://github.com/BHoM/BHoM_Engine/blob/0471f52497ff5acc47f8e0540410e9c2e8a75b6e/Reflection_Engine/Query/Description.cs#L270-L298
Namely, add in the step
QuantityAttribute quantity = field.GetCustomAttribute<QuantityAttribute>(); if (quantity != null) desc += $" [{quantity.SIUnit}]";
After the description attribute to allow for display of quantities relating to enum values.
Description:
Related to https://github.com/BHoM/BHoM/issues/1642
Add a couple of lines to this method:
https://github.com/BHoM/BHoM_Engine/blob/0471f52497ff5acc47f8e0540410e9c2e8a75b6e/Reflection_Engine/Query/Description.cs#L270-L298
Namely, add in the step
After the description attribute to allow for display of quantities relating to enum values.