-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new Window to Existing Opening #11
Comments
You might need to consider local placement and its spatial relations. My recommendation would be to study IFC documentation and existing files. |
I could achieve some progress but I still have some problems with this issue. Basically, I have two scenarios:
Problem: I created the opening according to the dimensions of the Window and then added the IfcWindow with the Insert Copy() Function. The import is fine, but I still have a small gap between Window and Wall in the Xbim Xplorer (Picture 1.1). For placing the window I referenced the Position of the Opening Body, which was created through an ExtrudedAreaSolid. When I open the IFC file in Revit (Picture 1.2), the gap is closed automatically.
Problem: When I create the Opening by Code (see function CreateOpeningAgnostic) it works in the XBim Xplorer (pic 2.1) but in Revit the Opening disappears (pic 2.2). So do u have any further hints what could be wrong by creating the opening and placing the window properly in it? Any help would be highly appreciated!
|
Did you ever get this fixed? I am trying to add an opening to a wall now and I am having issues. please help |
@martin1cerny
I am to trying to add a new Standard Window to an existing Opening.
I was able to add a new Wall,Opening and Window to an existing Ifc file already.
But then I had some troubles by adding a new Window to an existing Opening.
I tried following approaches:
Retrieving the dimensions from opening and pass them to the new wall:
-Geometric representation and spatial hierachy was allright, but placement wasnt accurate.
Mapping Window and Opening via IfcMappedItem
-Did some research on that and it is not recommended to use this concept
So could somebody provide an example of how to add a new window to an exiting opening?
If not, what is the best approach to solve that issue?
According to the parametric approach of Ifc I guess it is not necessary to retrieve any values (e.g. Dimension, insertpoint), but "only" to set the correct semantic and geometric relations right?
Thanks a lot for your help
The text was updated successfully, but these errors were encountered: