NativeBIM / Demos / Ask the model
NativeBIM by NativeCAD
IFC questions answered with the GlobalIds behind themIFC answer: 107 dock doors, each one by GlobalId
Every answer NativeBIM gives about a model names the elements it is based on, by GlobalId, with the property or attribute each one matched. Here are 6 plain questions put to the generated warehouse model.
Asked how many dock doors the generated warehouse has, the selector IfcDoor, Name=/DK-/ returned 107: 3fppB9fUbTR82q7YLwqGiA, 0REIoSI5PLjf6lPn0YQxV9, 26IZXXivzHmx$hhRpvGrah and the rest, each with the attribute it matched. Captured with docs/launch/site/capture.js (method).
The questions
“How many dock doors are there, and which ones?”
IfcDoor, Name=/DK-/107 matches| GlobalId | Class | Name | Matched on |
|---|---|---|---|
3fppB9fUbTR82q7YLwqGiA | IfcDoor | DK-001 | class IfcDoor; Name = DK-001 |
0REIoSI5PLjf6lPn0YQxV9 | IfcDoor | DK-002 | class IfcDoor; Name = DK-002 |
26IZXXivzHmx$hhRpvGrah | IfcDoor | DK-003 | class IfcDoor; Name = DK-003 |
34nk_7MfzT0B5jtVYYmVm$ | IfcDoor | DK-004 | class IfcDoor; Name = DK-004 |
07W5_tB45IZ9o9z1kvO7X0 | IfcDoor | DK-005 | class IfcDoor; Name = DK-005 |
3BledKesvIr8TfXTullJBk | IfcDoor | DK-006 | class IfcDoor; Name = DK-006 |
Showing 6 of 107; the full answer lists every GlobalId. Captured with docs/launch/site/capture.js (method).
“Which doors are marked as external?”
IfcDoor, Pset_DoorCommon.IsExternal=TRUE117 matches| GlobalId | Class | Name | Matched on |
|---|---|---|---|
1BV9HtHDnOlBFnG_NIMBXX | IfcDoor | GD-01 | class IfcDoor; Pset_DoorCommon.IsExternal = true |
2LOZssN1XQkhlvLwY7IzXh | IfcDoor | GD-02 | class IfcDoor; Pset_DoorCommon.IsExternal = true |
3fppB9fUbTR82q7YLwqGiA | IfcDoor | DK-001 | class IfcDoor; Pset_DoorCommon.IsExternal = true |
0REIoSI5PLjf6lPn0YQxV9 | IfcDoor | DK-002 | class IfcDoor; Pset_DoorCommon.IsExternal = true |
26IZXXivzHmx$hhRpvGrah | IfcDoor | DK-003 | class IfcDoor; Pset_DoorCommon.IsExternal = true |
34nk_7MfzT0B5jtVYYmVm$ | IfcDoor | DK-004 | class IfcDoor; Pset_DoorCommon.IsExternal = true |
Showing 6 of 117; the full answer lists every GlobalId. Captured with docs/launch/site/capture.js (method).
“Where is the office?”
IfcSpace, LongName="Office"1 match| GlobalId | Class | Name | Matched on |
|---|---|---|---|
3EPXPjggjUIxc2YOvQNxIb | IfcSpace | 101 | class IfcSpace; LongName = Office |
“Which spaces are paving outside the building?”
IfcSpace, PredefinedType=PARKING + IfcSpace, PredefinedType=EXTERNAL2 matches| GlobalId | Class | Name | Matched on |
|---|---|---|---|
0SdOMxy9TGfR9Zb3hZX7y1 | IfcSpace | TC-rear | class IfcSpace; PredefinedType = EXTERNAL |
0LXFMqPC5HMfZxokjv2J5p | IfcSpace | CF-front | class IfcSpace; PredefinedType = PARKING |
“Which columns are steel tube sections?”
IfcColumn, type=/HSS/145 matches| GlobalId | Class | Name | Matched on |
|---|---|---|---|
3U4Y1zfHHSxer334rzMGiP | IfcColumn | C-2/B | class IfcColumn; type HSS8X8X3/8 column |
2oFWXSHcfHdf1sBGpwd$p9 | IfcColumn | C-2/C | class IfcColumn; type HSS8X8X3/8 column |
02r3$mvQnN3uHaFYCSfH$c | IfcColumn | C-2/D | class IfcColumn; type HSS8X8X3/8 column |
1KD2hUCTnTjBJAdEjX9YdA | IfcColumn | C-2/E | class IfcColumn; type HSS8X8X3/8 column |
3eEuiFzNXR3gLgX7rukvrH | IfcColumn | C-2/F | class IfcColumn; type HSS8X8X3/8 column |
0BYVKym$zPDfnizf6bMcng | IfcColumn | C-3/B | class IfcColumn; type HSS8X8X3/8 column |
Showing 6 of 145; the full answer lists every GlobalId. Captured with docs/launch/site/capture.js (method).
“List the tilt-up exterior walls.”
IfcWall, Name=/Tilt-up/4 matches| GlobalId | Class | Name | Matched on |
|---|---|---|---|
2i_QPVqyzP7exd2aWeIZxL | IfcWall | Tilt-up front | class IfcWall; Name = Tilt-up front |
294IJfshPOiv95MkiwwrdW | IfcWall | Tilt-up right | class IfcWall; Name = Tilt-up right |
3AxnBbnpvQKuiDkMniH9S0 | IfcWall | Tilt-up rear | class IfcWall; Name = Tilt-up rear |
0Uezx7rd5Hn9S9PJBLiF9d | IfcWall | Tilt-up left | class IfcWall; Name = Tilt-up left |
How an answer is built
- The model is read from its IFC file into the model graph. Nothing is sent anywhere to answer a question.
- A selector picks elements by class (subtypes included), attribute, property, type, material, classification or location.
- Each result carries its GlobalId and the evidence: which facet matched, on which value, from which property set or type.
- An assistant quotes the GlobalIds with the answer, so you can check any element in the viewer or in your own tools.
Reproduce it
node docs/launch/site/capture.js
The model is the one on the warehouse check page, built with a fixed seed, so the GlobalIds above are stable.
Notices
NativeBIM is licensed software. It does not provide design, engineering or other professional services. Outputs are drafts for review by the licensed professional of record.
NativeBIM is not affiliated with, endorsed by or sponsored by the companies and organizations named here. Product names and marks belong to their owners.
NativeBIM is provided as is, without warranty of any kind. To the extent the law allows, FeatureBoard Labs Incorporated is not liable for indirect, incidental or consequential damages, lost profits or lost data, and its total liability is limited to the license fees paid in the 12 months before the claim. Read the license.