-
Notifications
You must be signed in to change notification settings - Fork 14
Remove from Revit basics
Removing elements from Revit to BHoM works very similar to [pulling], with the difference that the Revit elements get removed instead of extracted and converted to BHoM. In order to perform Remove action, the adapter needs to be set up correctly first. Once this is done, the user needs to specify two basic Remove inputs:
- Request (which Revit elements are meant to be removed?)
- Action config (settings of this particular action - optional, if not specified, default values are used)
Once the adapter and inputs are ready, the Remove 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.
Remove action config is represented by RevitRemoveConfig
and allows to specify the following settings:
-
SuppressFailureMessages
- if true, Revit warnings are suppressed in order not to interrupt the removal procedure (default isfalse
) -
IncludeClosedWorksets
- if true, Revit elements from closed worksets will be removed (default isfalse
) -
RemovePinned
- if true, pinned Revit elements will be removed (default isfalse
)
If RevitRemoveConfig
is left empty, default values will be used.
Code mechanics of the Remove adapter action is explained in Remove 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