OSArch Community

bimtester - examples using query and regex

  1. T

    I'm trying to write a few IFC checks with the bimtester tool, and for simple tests it already works pretty good!

    However, I am stuck at writing more elabourate tests including queries and regular expressions. As I understand, I can "categorize" certain elements with the "referred to as" statement. As a query for that I tried the selector syntax but failed.

    
    * The elements defined by ".IfcWall[Pset_WallCommon.Description = "concrete"]" are referred to as myConcreteWall
    
    * All myConcreteWall elements have a myPset.mylocation property matching "/inside|outside/"
    

    Any hint how to solve this?

  2. M

    From memory, this "referred to" grouping feature is not currently implemented. Would you like to help implement it? Alternatively, check out the upcoming work with the IDS standard by @ATomczak .

  3. A
  4. T

    Hi @ATomczak, thanks for pinging me. Actually, I could not wait and fixed the regex stuff myself :). Was my first commit. But I'm eager to learn more about your work on IDS!

Login or Register to reply.