-
Notifications
You must be signed in to change notification settings - Fork 14
Pull of Geometry and Representation
By default, Revit elements are pulled and converted to the BHoM objects as explained in Revit BHoM conversion. However, on top of that, it is possible to extract additional information about the actual geometry of an element in Revit, as well as its representation including colours. Instruction about that extra information to pull is passed to the adapter via GeometryConfig
and RepresentationConfig
properties of RevitPullConfig
.
PullGeometryConfig
object allows to set following geometry-related instructions:
-
PullEdges
- if true, edges of elements will be pulled and stored inRevitRepresentation
fragment, queryable usingRevitEdges
method -
PullSurfaces
- if true, surfaces of elements will be pulled and stored inRevitRepresentation
fragment, queryable usingRevitSurfaces
method -
PullMeshes
- if true, meshed surfaces of elements will be pulled and stored inRevitRepresentation
fragment, queryable usingRevitMeshes
method -
MeshDetailLevel
- detail level of mesh to be pulled, correspondent to level of detail in Revit -
IncludeNonVisible
- invisible element parts will be pulled and passed toRevitRepresentation
fragment if true
PullRepresentationConfig
specifies render mesh settings:
-
PullRenderMesh
- if true, mesh representation of elements will be pulled and stored inRevitRepresentation
fragment, queryable usingRenderMeshes
method -
DetailLevel
- detail level of representation, correspondent to level of detail in Revit -
IncludeNonVisible
- invisible element parts will be pulled and passed toRevitRepresentation
fragment if true
-
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