First time here? Check our help page!
2

OpenStudio gbXML import subsurface constructions

When importing a gbXML file into OpenStudio is there a way for the OS:SubSurfaces to have the construction assigned? Looking through the source code there is a comment listing things to do and one of them is to translate the windowTypeIdRef. However, looking through the reverse translator it looks like it should assign a construction if the constructionIdRef attribute is specified and the construction exists. That said, on line 683 of the reverse translator it is assigning a construction to the surface, rather than subsurface. Is this correct? Or should the .setConstruction method be called on the subSurface? I can't seem to get it to import subSurfaces with construction references.

pflaumingo's avatar
1.9k
pflaumingo
asked 2015-10-02 19:37:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I'll ping @macumber about this, looks like you may have a bug there. You may also want to check out this recent gbXML import discussion.

David Goldwasser's avatar David Goldwasser (2015-10-02 22:25:54 -0500) edit

@David Goldwasser, I don't think that link is working.

pflaumingo's avatar pflaumingo (2015-10-03 12:17:38 -0500) edit

Sorry, here is good link. I'll update original comment link as well. https://unmethours.com/question/2622/gbxml-import-into-openstudio/

David Goldwasser's avatar David Goldwasser (2015-10-03 17:39:49 -0500) edit
add a comment see more comments

1 Answer

3

I think that is a bug, I've filed this issue. Do the sub surfaces in your instance file have construction ids? Or are they using windowTypeId? This bug is easy enough to fix, if better importing the other sub surface properties is important to you then you might want to vote for this item on uservoice.

macumber's avatar
12k
macumber
answered 2015-10-05 10:50:38 -0500
edit flag offensive 0 remove flag delete link

Comments

They have both constructionIdRefs and windowTypeIdRefs (I've made them the same), as well as defined constructions matching the IdRefs. Already voted for it :)

pflaumingo's avatar pflaumingo (2015-10-05 11:05:01 -0500) edit
add a comment see more comments