-
Notifications
You must be signed in to change notification settings - Fork 14
Pull in Dynamo
Note: It is highly recommended to switch to Manual mode when working with Dynamo and BHoM. Besides that, it is worth having a look at Using the BHoM section before reading this page.
Having the adapter successfully set up, one can start interacting with Revit. It is a good . Pull
behaves like a standard Dynamo component, so can be placed on canvas with a right click action (or by selection from side menu). Request, on the other hand, is a solely BHoM type, therefore it requires using CreateObject
component (CreateRequest
is currently on prototype stage and does not capture all Requests).
The example below shows a simple exercise of pulling all Revit elements that can be converted into BHoM IFramingElements
(which capture both columns and framing). There is a few details that might be worth noticing:
-
FilterByBHoMType
expects a type and not an instance. In Revit language, the user is expected to provide a element type and not the element itself. Therefore,CreateType
component is being used. -
Explode
is a general use component that allows to quickly see all properties of any BHoM object. It is very useful and can be applied almost anywhere. - Pull will not run as long as it is not activated (
active == true
). - The pull component is turning orange indicating that it threw a warning. This is often acceptable, although should never be left unnoticed.
More examples is available in Pull examples page.
-
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