-
Notifications
You must be signed in to change notification settings - Fork 14
Pull from Revit basics
Pulling elements from Revit to BHoM means extracting them from the Revit model combined with converting them to BHoM. In order to perform that action, the adapter needs to be set up correctly first. Once this is done, the user needs to specify two basic Pull inputs:
- Request (which Revit elements are meant to be pulled?)
- Action config (settings of this particular action - optional, if not specified, default values are used)
Once the adapter and inputs are ready, the Pull action needs to be activated - in visual programming environment this is done by setting its active
property to true
.
Requests are listed and explained in requests and filtering section.
Pull action config is represented by RevitPullConfig
and allows to specify the following settings:
-
Discipline
- discipline, in which the user works (Physical - default, Structural, Building Environments, Architecture, Facade) - this determines types of BHoM objects, to which the requested Revit elements are converted - more on that subject can be found in Revit BHoM conversion -
IncludeClosedWorksets
- if true, Revit elements from closed worksets will be pulled (default isfalse
) -
IncludeNestedElements
- if true, Revit family instances will be pulled together with their subelements (default istrue
) -
GeometryConfig
- settings defining the geometrical representation (the actual geometrical object representing the element in Revit) to be pulled (by default nothing) - more information available in Pull of Geometry and Representation -
RepresentationConfig
- settings defining the mesh representation to be pulled (by default nothing) - more information available in Pull of Geometry and Representation -
PullMaterialTakeOff
- if true,RevitMaterialTakeOff
fragment will be added to the pulled BHoM object, which can then be converted into anExplicitBulk
usingMaterialTakeoff
query
If RevitPullConfig
is left empty, default values will be used.
Code mechanics of the Pull adapter action is explained in Pull from Revit details section.
-
Overview:
What is Revit_Toolkit for?
Code structure
Building from source and debugging
License
Sample scripts -
Adapter:
Basics
Revit <-> BHoM conversion
BHoM vs Revit identity
Handling of Parameters
Conventions
Setup in Revit
Setup in Grasshopper
Setup in Dynamo
Setup in Excel
Details -
Pull:
Basics
Requests and filtering
Pull of Geometry and Representation
Pull from Links
Pull in Grasshopper
Pull in Dynamo
Pull in Excel
Examples
Explicit family vs type mapping
Details -
Push:
Basics
Push modes
Updating Revit types
FamilyLibrary
Push in Grasshopper
Push in Dynamo
Push in Excel
Examples
Details -
Remove:
Basics
Remove in Grasshopper
Remove in Dynamo
Remove in Excel
Examples
Details -
References:
BHoM Wiki
BHoM Adapter