Skip to content
Pawel Baran edited this page Apr 10, 2020 · 29 revisions

Notes

  • It is worth having a look at Using the BHoM section and the rest of Revit_Toolkit Wiki before reading this page.
  • All scripts are presented in both Grasshopper and Dynamo. All source files are available in samples.
  • It is highly recommended to switch to Manual mode when working with Dynamo and BHoM.

Pulling selection

One of the more practical ways to specify elements for pull is simply selecting them in Revit and using FilterBySelection.

Pull selection in Grasshopper


Pull selection in Dynamo

Complex requests

Disciplines

As mentioned in Conversion from Revit section, depending on the discipline set in Action config, Revit elements can be converted to different BHoM objects. A vivid example of that is shown in the script below (full size). Revit walls are being converted to:

  • BH.oM.Physical.Elements.Wall for Physical discipline
  • BH.oM.Structure.Elements.Panel for Structural discipline
  • BH.oM.Environment.Elements.Panel for Environmental discipline

Pull disciplines in Grasshopper


Pulling energy analysis model

Energy analysis is a specific discipline that requires information about meta information (e.g. topology or building location) that is often not needed for other disciplines. Therefore EnergyAnalysisModelRequest in order to ease the process of pulling comprehensive data from Revit energy analysis model.

Pull energy analysis model in Grasshopper


Pull energy analysis model in Dynamo

Pulling edges

A hidden feature of action config: pulling any elements together with their edges as shown in Revit! In case below, of framing elements (full size). Following Conversion section, the edges are stored in BHoM object's CustomData under Revit_edges key - easiest way to retrieve it is to use GetProperty component, alternatively the object and its CustomData can be decomposed with Explode.

Pull edges in Grasshopper


Pull edges in Dynamo

Clone this wiki locally