Revit MEP

Reply
Active Member
OlivierBBS
Posts: 7
Registered: ‎11-13-2013
Message 1 of 8 (292 Views)

gbXML : import back results

292 Views, 7 Replies
11-19-2013 06:32 AM

Hi,

 

I can't find any information on Revit MEP gbXML import.

I have a very basic case where I export 2 spaces in gbXML, compute some HeatLoad in another software, and then want to import resuslts back into Revit.

 

Is there a place/wiki/help/somebody that could tell me what is the exact syntax Revit is expecting when reading gbXML "Results" tag ?

The following example does not work (Checkboxes are grayed in the Revit import dialog) :

 

<gbXML ....>

   <Campus>

      <Building>

         <Space id="sp-1-Espace">

            <CADObjectId>173843</CADObjectId>

            ...

         </Space>

      </Building>

      ...

   </Campus>

 

   <Results id="sp-1-Espace" unit="Watt" resultsType="HeatLoad">
      <Value>200.000000</Value>
      <ObjectId>sp-1-Espace</ObjectId>
      <CADObjectId>173843</CADObjectId>
   </Results>

</gbXML>


Thanks ;o)

Product Support
Alaaeldin_Alsahli
Posts: 241
Registered: ‎11-19-2013
Message 2 of 8 (245 Views)

Re: gbXML : import back results

11-21-2013 10:49 AM in reply to: OlivierBBS

What error message are you getting when you are trying to importe your gbxml?



Alaaeldin Alsahli


Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Product Support
Alaaeldin_Alsahli
Posts: 241
Registered: ‎11-19-2013
Message 3 of 8 (240 Views)

Re: gbXML : import back results

11-21-2013 12:22 PM in reply to: OlivierBBS

you should check this

http://autodesk.lithium.com/t5/Revit-Architecture/gbXML-import-into-Revit-Architecture-2011/td-p/269...

 

try to create spaces and zone and do heating and cooling load calculation in the analyzing tab in revit, export it in gbxml and then update the data with your analytical software and then re-import it

 

 



Alaaeldin Alsahli


Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Product Support
Alaaeldin_Alsahli
Posts: 241
Registered: ‎11-19-2013
Message 4 of 8 (230 Views)

Re: gbXML : import back results

11-21-2013 01:06 PM in reply to: OlivierBBS

try to change

unit="Watt" to

unit="Watts"



Alaaeldin Alsahli


Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Product Support
Alaaeldin_Alsahli
Posts: 241
Registered: ‎11-19-2013
Message 5 of 8 (228 Views)

Re: gbXML : import back results

11-21-2013 01:11 PM in reply to: OlivierBBS

if you need more info about gbxml you could visite thier site

http://www.gbxml.org/currentschema.php

 

 



Alaaeldin Alsahli


Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Active Member
OlivierBBS
Posts: 7
Registered: ‎11-13-2013
Message 6 of 8 (218 Views)

Re: gbXML : import back results

11-22-2013 12:26 AM in reply to: Alaaeldin_Alsahli

Hi Alaaeldin_Alsah,

 

Many thanks for your suggestions.

Actually, I've already read all the informations that you link without success.

 

By the way, I've managed to make it work, and here is the explanations in case somebody else need it.

 

Revit is almost fully gbXML compliant as far as export is concerned.

But when it comes to import, the things are very different.

In one word : Revit is not gbXML compliant for import !

 

For Revit to be able to recognize results in a gbXML file, there are mandatories :

 

1. One or more Results nodes must be present under the root gbXML node.

 

2. Each individual Results node must have at least the following informations :

    - Attribut objectIdRef with value = Id of the node for which this result is for (Campus/Building/Space in my case).

    - Attribut resultsType with value = type of result (HeatLoad in my case).

    - Attribut unit with value = type of unit the result is given (Watt in my case).

    - Attribut Value with value = value of the result in the given unit.

    - Attribut DOE22objectType with value = integer value for the object type (1005060 in my case).

    - Attribut DOE22resultType with value = integer value for the result type (in my case).

 

3. For each objectIdRef above, a valid node must exists under Campus with the right Id.

 

 

Values for DOE22objectType and DOE22resultType are not part of the gbXML standard.

Here are some values I've extracted from a third party software that creates gbXML files Revit "understands" :

resultsType => DOE22objectType 

Flow => 2201045

CoolingLoad => 1005059

HeatLoad => 1005060

DOE22resultType was always 1.

 

 

Finally, if Revit doesn't show the import dialog when importing a gbXML file, there is a great chance that the Results nodes are missing.

If the dialog is shown but all checkboxes are grayed, it means that at least one Results node is present but Revit do not understand it.

 

Active Member
OlivierBBS
Posts: 7
Registered: ‎11-13-2013
Message 7 of 8 (217 Views)

Re: gbXML : import back results

11-22-2013 12:45 AM in reply to: OlivierBBS

Two more things i've forgotten :

 

The node under Campus (Space in my case) must have a CADObjectId value that links to the Revit Element concerned by the results.

For example <CADObjectId >152365</CADObjectId > with 152365 the ElementId integer value of the Space which the HeatLoad result is for.

 

The Value node under Results node must have a value given with a "dot" decimal separator, no matter the langage of the installed Revit (mine is French, french decimal separator is "comma", but Revit is expecting a "dot").

 

Active Member
nikolay.gerasimov
Posts: 9
Registered: ‎05-16-2013
Message 8 of 8 (171 Views)

Re: gbXML : import back results

12-14-2013 10:20 AM in reply to: OlivierBBS

The only gbXML files with results that can be imported into Revit are from Green Building Studio and only those which were created after gbXML export from Revit.

gbXML files directly from GBS contain only "Supply airflow" for zones and nothing more. But keeps all names of spaces and zones. The best gbXML export from Revit is provided by IES-VE plug-in, geometry in this case is almost ideal.

Interesting, energy analysis inside Revit creates a much more detailed gbXML file in Results section, but all names of surfaces, spaces and zones are absolutely abstract and look like "aimxxxxxx". So they cannot be imported back. 

Energy analysis is still the biggest problem for Autodesk - GBS still does not produce quantitatively correct results. All models must be fixed and calculated in DOE or E+ with no chance to integrate the results back into Revit.

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.