When Rule Prerequisite Readiness reports Insufficient Data or Partial Data Fidelity, expand Prerequisite Attributes on the rule card to see which prerequisite failed. Each (i) icon links directly to the matching remediation section below.
bis.PhysicalElement.whereClause shows '0 elements matched' (MISSING IN SCHEMA / 0%), and Candidates is 0.
Every rule in MongoDB (cc_core.rules) defines a harvester.whereClause ECSQL filter that selects candidate elements from bis.PhysicalElement (aliased as e). If your iModel uses different BIS categories, discipline model names, or ECClasses than the baseline rule filter (for example, OpenRail / Network Rail categories instead of standard IFC classes), the query matches zero elements.
Open Property Analysis → iModel Console (SQL) in BIM Checker (or the Bentley iModel Console) and run:
SELECT
m.UserLabel AS modelName,
c.CodeValue AS categoryName,
ec_className(e.ECClassId, 's.c') AS ecClass,
COUNT(*) AS cnt
FROM bis.PhysicalElement e
JOIN bis.Model m ON m.ECInstanceId = e.Model.Id
JOIN bis.Category c ON c.ECInstanceId = e.Category.Id
JOIN bis.SpatialIndex sp ON sp.ECInstanceId = e.ECInstanceId
GROUP BY m.UserLabel, c.CodeValue, ec_className(e.ECClassId, 's.c')
ORDER BY cnt DESC
network_rail).BS_EN_50122_PANTOGRAPH_350).whereClause (ECSQL Filter) to match the exact Category, Model, or ECClass returned by your inspection query. Example:e.Category.Id IN (
SELECT ECInstanceId FROM bis.Category
WHERE CodeValue LIKE '%OLE%' OR CodeValue LIKE '%Bridge%' OR CodeValue LIKE '%Structure%'
)
(Avoid using 1=1 on large federated iModels—it includes non-spatial sub-elements without bis.SpatialIndex entries.)cc_core.configs.ruleOverrides).bis.SpatialIndex.SpatialIndex shows 0% (e.g. 24/24193 (0%)) or MISSING IN SCHEMA, resulting in high Deficient counts.
whereClause (most common): If whereClause is 1=1, the harvester pulls in thousands of non-spatial bis.PhysicalElement containers, assemblies, or metadata sub-elements that do not carry 3D bounding boxes in bis.SpatialIndex.bis.SpatialIndex.whereClause first: Scope the rule to physical discipline categories that actually contain 3D geometry (see Fixing Harvester WHERE Clause), or add a spatial-index existence filter:e.ECInstanceId IN (SELECT ECInstanceId FROM bis.SpatialIndex)
bis.SpatialIndex, re-export the source IFC/DGN/Revit model with 3D geometry enabled and synchronize a new iModel changeset.bis.PhysicalElement.UserLabel shows MISSING IN SCHEMA or low population.
Either zero candidate elements matched whereClause (fix whereClause first), or candidate elements have empty UserLabel values and generic ECClassId types, making audit defect reports hard to trace back to authoring models.
UserLabel / CodeValue names and IFC/Uniclass classifications before publishing to the iModel.bis.Alignment.Alignment shows Missing (0/1 (0%)) on linear rail rules (BS_EN_50122_OCLZ_CCZ_HOOD, BS_EN_50122_PANTOGRAPH_350, NETWORK_RAIL_GAUGE_450).
Rail clearance and gauge checks require a 3D linear reference centerline. BIM Checker checks:
centerlinePoints) on the bound Asset Preset / iModel Override, thenbis.Alignment / RoadRailAlignment / track elements in the iModel matching the Alignment Discovery Filter.iModel Container Override and open the General & Infrastructure tab.RoadRailAlignment, set:e.ECClassId IS (RoadRailAlignment.HorizontalAlignment)
Or for category/label matching:c.CodeValue LIKE '%Alignment%' OR e.UserLabel LIKE '%Alignment%'
.json / .geojson): Upload a 3D LineString GeoJSON or strict alignment JSON file in the iModel's project CRS.An IFC Property Set attribute (e.g., Pset_DoorCommon.FireRating, Qto_SpaceBaseQuantities.GrossFloorArea, Pset_SpaceCommon.Reference) shows MISSING IN SCHEMA or Missing IPP.
The iModel either does not contain that IFC Property Set (Pset_* / Qto_*), or the property is stored under a custom/vendor property name (e.g., Revit native parameters instead of IFC Psets).