As established in the Hackademy session today, there is already great existing functionality via multiple methods to query whether a point-based object exists within a volumetric object in 3D but it would be great for UX to have this process more streamlined for Revit-based workflows. This would help with MEP workflows where it is important to know the Space that a given piece of equipment lives in.
I propose to make use of the existing BHoM 3D IsContaining method which means translating Revit Space volumes into a collection of BHoM Environment Panels. To do this it would be great to have a new method called something like "RevitSpaceToPanels" which could take a collection of BHoM Spaces pulled from Revit where the geometry config has been used to pull the surfaces then using the PanelsFromSurfaces Environment method to create the Panels. These panels can then be passed to the existing IsContaining method along with a list of points.
Description:
As established in the Hackademy session today, there is already great existing functionality via multiple methods to query whether a point-based object exists within a volumetric object in 3D but it would be great for UX to have this process more streamlined for Revit-based workflows. This would help with MEP workflows where it is important to know the Space that a given piece of equipment lives in.
I propose to make use of the existing BHoM 3D IsContaining method which means translating Revit Space volumes into a collection of BHoM Environment Panels. To do this it would be great to have a new method called something like "RevitSpaceToPanels" which could take a collection of BHoM Spaces pulled from Revit where the geometry config has been used to pull the surfaces then using the PanelsFromSurfaces Environment method to create the Panels. These panels can then be passed to the existing IsContaining method along with a list of points.
Here's a sample script to help explain what I'm trying to describe. The new method would basically wrap everything in the green group...
This issue relates to and was established in conjunction to this PR on the Environment_Engine