BHoM / Revit_Toolkit

A set of tools enabling exchange of information between BHoM and Revit.
GNU Lesser General Public License v3.0
27 stars 13 forks source link

Revit_Toolkit: Generate Environment Panels from Revit Space volume #1114

Open rboulton-BH opened 2 years ago

rboulton-BH commented 2 years ago

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

vietle-bh commented 7 months ago

Hi @rboulton-BH , do you think what @enarhi added below has allowed us to close this issue?

https://github.com/BHoM/BHoM_Engine/pull/3195 https://github.com/BHoM/BHoM_Engine/pull/3203