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 inRevitRepresentationfragment, queryable usingRevitEdgesmethodPullSurfaces- if true, surfaces of elements will be pulled and stored inRevitRepresentationfragment, queryable usingRevitSurfacesmethodPullMeshes- if true, meshed surfaces of elements will be pulled and stored inRevitRepresentationfragment, queryable usingRevitMeshesmethodMeshDetailLevel- detail level of mesh to be pulled, correspondent to level of detail in RevitIncludeNonVisible- invisible element parts will be pulled and passed toRevitRepresentationfragment if true
PullRepresentationConfig specifies render mesh settings:
PullRenderMesh- if true, mesh representation of elements will be pulled and stored inRevitRepresentationfragment, queryable usingRenderMeshesmethodDetailLevel- detail level of representation, correspondent to level of detail in RevitIncludeNonVisible- invisible element parts will be pulled and passed toRevitRepresentationfragment if true