Thank you very much for answering us the questions. We really appreciate your help in this regard and we are very eager to get the desired result.
I kindly request you to clarify us the following question pertaining to the same problem.
Attachments:
1. Please find the attached image of a Slab and an OpeningElement associated with that slab.
2. An image of the hierarchy from IfcOpeningElement to a IfcRectangleProfileDef is also attached (View from IfcBrowser view).
The proposed changes in the code which you have said computes the following.
• Identifies the slab for which opening element is associated and using the inheritance hierarchy from the slab and results us the slab area itself.
• We are interested in computing the area of OpeningElement and area of that Slab is presently not the point of interest.
Precise requirement: In the attachment "Opening to RectangleProfileDef", which is a IFC Browser View
ID# 82: Opening Element has reference to 80.
ID# 80: Product Definition Shape has reference to 79
ID#79: ShapeRepresenation has reference to 76
ID# 76: ExtrudedAreaSolid has reference to 73.
ID# 73: RectangleProfileDef (CircleProfileDef/ArbitraryProfileDef).
IfcRectangleProfileDef Object has the methods getXDim and getYDim.
Objective: Finding relationship from OpeningElement to RectangleProfileDef to get X and Y Dim and compute the area as 9.999 * 18 to 180
Presently: Starting from the Slab, we were able to get the interested OpeningElement. How do we use the BIM Source code IfcHierarchy to reach RectangleprofileDef objects from any OpeningElement?
Required:
1. Kindly give us the sequence of objects and methods to invoke and the relationship objects involved.
2. Kindly throw us some light on how to approach a problem of this classification generically to resolve the relationship(Rel Objects).
Thank you!
Loading Profile...



Twitter,
Facebook, or email.

EMPLOYEE
