1

Display names of items imported from gbXML

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?

Redline's avatar
111
Redline
asked 2023-06-15 18:15:52 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-06-16 12:38:07 -0500
edit flag offensive 0 remove flag 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 -0500) edit
add a comment see more comments

1 Answer

1

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.

Redline's avatar
111
Redline
answered 2023-06-19 16:35:27 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments