Pull of geometry and object representations
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
methodPullSurfaces
- if true, surfaces of elements will be pulled and stored inRevitRepresentation
fragment, queryable usingRevitSurfaces
methodPullMeshes
- if true, meshed surfaces of elements will be pulled and stored inRevitRepresentation
fragment, queryable usingRevitMeshes
methodMeshDetailLevel
- detail level of mesh to be pulled, correspondent to level of detail in RevitIncludeNonVisible
- 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
methodDetailLevel
- detail level of representation, correspondent to level of detail in RevitIncludeNonVisible
- invisible element parts will be pulled and passed toRevitRepresentation
fragment if true