Skip to content
Simon Daum edited this page Sep 10, 2017 · 4 revisions

Welcome to the QL4BIM wiki! A mini manual for QL4BIM is comming soon. For now, try these queries:

  1. identify all IfcWalls and subtyped items in the model and save them to the set variable walls
   entities = ImportModel ("C:\temp\AC11-Institute-Version4.ifc")
   walls = TypeFilter (entities is IfcWall)
  1. identify pairs of wall and hosted door, whereas the door is higher than two meters (relational variable e[wall|door])
    entities = ImportModel ("C:\temp\AC11-Institute-Version4.ifc")
    a[entity|open] = Deassociater (entities.HasOpenings)
    b[entity|open|fill] = Deassociater (a, [open].HasFillings)
    c[entity|fill] = Projector (b, [entity], [fill])
    d[wall|door] = TypeFilter (c, [entity] is IfcWall, [fill] is IfcDoor)
    e[wall|door] = AttributeFilter (d, [door].OverallHeight >= 2000)
  1. identify pairs of touching slabs and walls (relational variable b[slab|wall])
    entities = ImportModel("C:\temp\AC11-Institute-Version4.ifc")
    slabs = TypeFilter(entities is IfcSlab)
    walls = TypeFilter(entities is IfcWall)
    a[slab|wall] = Touches(slabs, walls)
    b[slab|wall] = BelowRelaxed(slabs, walls)
Clone this wiki locally