opensourceBIM / BIMserver

The open source BIMserver platform
GNU Affero General Public License v3.0
1.55k stars 608 forks source link

Could not find 'validifc' namespace in predefined queries #1234

Closed SteffanDavies closed 2 years ago

SteffanDavies commented 2 years ago

I am attempting to query BIMserver using the following query:

{
  "type": "IfcWall",
  "includeAllSubtypes": true,
  "includes": [
    "validifc:ContainedInStructure",
    "validifc:OwnerHistory",
    "validifc:Representation",
    "validifc:ObjectPlacement"
  ]
}

This results in the "Could not find 'validifc' namespace in predefined queries".

image

If I remove the "includes portion the query, it will correctly return the "ifcWall" object.

image

Can someone explain why "validifc fails?

hlg commented 2 years ago

This has already been answered: https://github.com/opensourceBIM/BIMserver/issues/1046#issuecomment-544988400. Use "ifc2x3tc1-stdlib" or "ifc4-stdlib" instead of "validifc", depending on your IFC schema version.