AftabRad Revit Add-in -> Import DAT To Revit: Export as GLB/HTML

In this tutorial, we can see how to make a 3D html file by exporting the selected calculation results together with selected elements of the model (or Revit current view 3D model) as a GLB file. Moreover, it also creates a Threejs HTML file that can visualize the 3D model with calculation results on a web page.

So, to create a GLB file or 3D html file, we should do the following steps.

1-      Press ImportToRevit button in the AftabRad Add-in

2-      Then, under the Data2Revit page by following the tutorials like these:

https://www.aftabsoft.net/AftabRadTutorial/RadianceDat2Revit.htm

https://www.aftabsoft.net/AftabRadTutorial/RoomSpaceBasedAnalysis.htm

https://www.aftabsoft.net/AftabRadTutorial/CreatingTemporalMapAnalysis.htm

we can define which type of analysis and how it should be imported into Revit.

3-      In the Data2Revit page, we need to activate the Export as GLTF option.

4-      Next it to press the Import button in the main Data2Revit page.

5-      By pressing the Import button in the Data2Revit page, the FalseColor Legend Selection page will be opened.

-          Then, in the part of this page that is shown in the below, you can choose the color palette on which you want to make your falsecolor results to be based.

-          Moreover, other than the calculation results that are going to be shown as falsecoolor, to decide which other 3D objects should be shown in the 3D pdf file,

by activating this checkbox, all the Revit elements that are shown in current view will be exported when creating the GLB/HTML file.

 

Here it is worth to say that, the filtering that is made in the Material by Category page in the Revit2Radiance page (see the below image) is still valid when exporting the elements to GLB/HTML file.

 

 

However, if the Include Current 3D Elements checkbox is not selected, then with the highlighted buttons in the below image, you can add or remove Radiance Rad files that are going to be

converted as ordinary objects when exporting to a GLB/HTML file.

 

Then, by pressing the Continue button, it starts to create a GLB and HTML file.

 

6-      When the GLB model file and HTML file is created, an HTML page will pop up on the screen. In this page, we can upload files into AftabSoft website and send a 3D modeling webpage link to anyone that you want them to check the results.

To create such a link please follow the below steps.

-          Press the Choose Files button, and then select those mentioned HTML, GLB and JPG files and press the Open button in the Open page.

 

-          After selecting those files, now we should press the Upload Files button

 

-          After pressing the Upload Files button, the link for the 3D modeling webpage will show up on the page.

 

-          Then by clicking on the link, you should see a 3D modeling page like the below image: