How to get the sill height (height above the floor) of a Ifcwindow in ifc file
1
There are 1 best solutions below
Related Questions in IFC
- openbim-components with node js
- How to make FragmentHighlighter to highlight an element with pure highlighter's color in openbim-components (IFCjs) + THREE.js
- openbim-components | OrthoPerspectiveCamera is slow/stuck when I zoom in the model
- IFC File, React, change elements color
- How Highlight IFC Model in Three.js with Raycasting
- Colorize, Transparent and Move Selected Entities on Xbim Control
- Set material only to one instance of the fragmentMesh class from Open Bim Components library / Three js
- Revit vb.net change IFC Parameter value
- Compilation error when compiling IFC++ and TBB
- XBIM - how to get rotation of an object (flowterminal)
- How to modify ifc file with xbim explorer
- Autodesk Revit: IfcGUID for Rooms changes every time
- Can xBim toolkit help me calculate the volume of some objects in an IFC model?
- How the Revit MEP Connector properties can be exported to IFC entity?
- Find out what is causing the ifc file to not complete importing
Related Questions in XBIM
- XBIM how to calculate boundingbox dimensions (X,Y) flowfitting
- Colorize, Transparent and Move Selected Entities on Xbim Control
- XBIM - how to get rotation of an object (flowterminal)
- How to modify ifc file with xbim explorer
- Can xBim toolkit help me calculate the volume of some objects in an IFC model?
- Xbim IFC Viewer ASP.NET
- Xbim web viewer
- Xbim library does not find all properties
- xbim distances between elements in a non axis aligned system
- How to create element with arbitrary shape using xbim toolkit?
- Ugly shading in Xbim
- How to get all the elements from the .ifc file?
- No IFC projects found in file in IFC file created by xbim toolkit
- Select IFC Physical Simple Quantity of Wall
- How to stop xBim IfcStore.Open() operation?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is no solution to get the height above the floor directly. This is because the height above for depends on several factors, like how the wall is created in which the window resides, etc.
It could be that the sillHeight is exported by the original modelling software to a custom IFC property. You could check for that, but since there is no common standard for it, it's risky.
Your best bet is to look into the
ObjectPlacementproperty whichIfcWindowinherits fromIfcProduct. The ObjectPlacement defines how a product is placed either in world space or relative to its host. See https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2/HTML/schema/templates/product-local-placement.htm for details.You need to read the ObjectPlacement property, and check if there is a RelativeTo property, if so, you need to fill into that property as well, and check if it's the placement of a floor. If so, you can stop the looping, and perform a matrix calculation on all the placements you harvested to calculate the placement of window relative to floor.
(Maybe even more simple: calculate world placement of window and floor separately, than subtract the two vector z values to get the height of window from floor)