What is the BHoM for?
The variety of AEC (Architecture, Engineering and Construction) commercial software does not always provide solutions to all needs, especially when it comes to collaborating with many people. We frequently encounter particular problems that require some special functionality not offered by any specific software, and we feel the need to implement it ourselves via, for example, custom scripts, or spreadsheets, or macros.
BHoM proposes a central Object Model, which is a schema (in other words, a dictionary of terms) on which functionality can be built. By agreeing on common terminology, the output of a script created by one person can easily be used as the input for another script.
So, at its core, the BHoM contains a collection of object definitions that we all agree on. The definitions are created by the same domain experts that use them everyday (e.g. Structural Engineers, Electrical Engineers, Architects...), and they are categorised per discipline (e.g. Structure, Architecture, ...). Each definition is simply a list of properties that an object should have (e.g. wall, beam, speaker, panel,...). We call this collection of definition the object Models (oMs).
By extension, the BHoM (Building and Habitats object Model) is the collection terminologies and of the functionality built on top of such terminology.
Across the AEC industry, regardless of our discipline, we have to work with multiple softwares during the course of any given project. Since there is rarely a simple solution to transfer the data from one software to another, we usually end up either doing it manually each time or writing some bespoke script to automate the transfer. Things get even more complex when we work across disciplines and with other collaborators. When the number of software to deal with becomes more than just a few, this one-to-one translation solution quickly becomes intractable.
This is where the BHoM comes in. Thanks to the central common language, it is possible to interoperate between many different software. Instead of creating translators between every possible pair of software, you just have to write one single translator between BHoM and a target software, to then connect to all the others software. We call those translators Adapters.
Most often, AEC industry experts creates ad-hoc functions and tools when the need arises. Common examples are large, complex spreadsheets, VBA macros for Excel, but also small and large User Interface programs written in C#, Python or other means.
In such a large sector, most problems you encounter are likely to have been solved before by someone in your organisation, or outside. What frequently happens is that the wheel gets reinvented. Additionally, when a script is created, it often exist in isolation, and is used only by a small group of people.
Let's take the example of a user wanting to create some functionality in an Excel macro. This has several issues:
Maintanability issues. Frequently, only the original creator of a Macro knows how to develop or maintain it. If they are not around and a problem arises, the Macro is often just thrown away.
Shareability issues. For example, if the creator of a Macro that does some function in a spreadsheet wants to share this functionality with one of their clients, they end up sharing the spreadsheet with the Macro in it, effectively ending up sharing the source code, fruit of their hard work, which could end up being copied.
Scalability issues. Macros are hard to scale. If you need to add more features or more complex functionality in a Macro, the code soon becomes unmanageable.
Collaboration issues. Collaborating to the code written in a Macro is a mess. Only one person can work on it at the same time; in order to merge the work of different people into a same Macro spreadsheet, either a library is created, or copy-paste is required.
BHoM proposes to create a common library of functionality in Engines, which are simply tidy collections of functions. Like Adapters, Engines can be stored in Toolkits, which are simply GitHub repositories. GitHub repositories make it easy to share and collaborate on code (or not share, if privacy is chosen). BHoM makes it very easy to expose any functionality written in an Engine to Excel, Grasshopper or other interfaces.
Thanks to the BHoM being exposed in various UIs such as Grasshopper and Excel, you don't even need to know how to write code to use the functionality created by other people.
By sharing terminology, functionality, and connectivity to software, BHoM enables to shift the attention from "connecting data" to "connecting people together"!
BHoM also embraces Open Source as a practice: there is infinite value in opening up development efforts to the larger AEC community. Sharing efforts pays up big time!