Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Display names of items imported from gbXML

asked 2023-06-15 18:15:52 -0600

Redline's avatar

updated 2023-06-16 12:38:07 -0600

Basic Question regarding the naming of objects imported from GBXML . The simplest level is that I would want to display are space names and storey names from a file set-up by importing via gbXML. But every object/space/storey/building etc when imported shows the GBXML.ID

IS there a way during import to import the names of the objects not just the ID of the object, as in a large scale project its quite difficult to cross reference: image description.

You can see in the Aragog/spider viewer that all these spaces have a name as well as an ID. And you can choose between showing ID or names. When I import the same gbXML into OpenStudio (1.5/3.5.2 SDK) image description

That the spaces (and pretty much every other object) is only to referred to by its gbXML.ID. ( AIM 999 etc) Which makes it difficult subsequently to know which spaces or building stories you are currently editing inside Openstudio.

This seems to be the case for every gbXML file that I have imported into OS?

edit retag flag offensive close merge delete

Comments

Without going too far down this rabbit hole, it appears to me that the OpenStudio SDK supports it (see https://github.com/NREL/OpenStudio/is...), but the OpenStudio application needs to be updated to take advantage of it. So it seems like it is a feature that could be requested here.

shorowit's avatar shorowit  ( 2023-06-20 17:17:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-19 16:35:27 -0600

Redline's avatar

I'm developing an interface for OS using C# and have found a way to do this programmatically using the .additionalProperties ("displayName") of model objects (which and I then set the objects .setdisplayname() method to make use of the proper description. Storeys, zones spaces etc. So it seems its possible. I'm just surprised the application doesn't have this ability by default, as it makes it difficult to use IMO. I had a project recently with 1150 spaces. So looking through those with only gbxml ID's would be painful.

I guess this could be converted to a Ruby measure potentially, but haven't yet got my head around creating measures in Ruby.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2023-06-15 18:15:52 -0600

Seen: 76 times

Last updated: Jun 19 '23