-
Notifications
You must be signed in to change notification settings - Fork 14
Push modes
PushType
is being set when specifying the Push action. It drives what is meant to happen depending on whether a Revit element correspondent to the pushed BHoM object already exists in the model. The way in which the Revit elements get linked to BHoM objects is explained in BHoM vs Revit identity section.
Currently following PushTypes
are provided by the Adapter, with following actions being taken for each:
PushType | Revit element exists | Revit element does not exist |
---|---|---|
CreateOnly |
do nothing | create new element |
UpdateOnly |
update existing element | do nothing |
DeleteThenCreate |
delete existing element and create new one | create new element |
CreateNonExisting |
not implemented | not implemented |
FullPush |
not implemented | not implemented |
Default PushType
for Revit Adapter is PushType.DeleteThenCreate
.
-
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