CMDBuild Forum

Openmaint - BIM connector issues

I’ve managed to set up Openmaint 1.1 along with the connections to  Bimserver 1.2 and PostGIS following the CMDBuild technical manual.

I can upload models to Bimserver through the Openmaint administration interface and visualise them in the Management interface. 

However I’m having issues importing geometry data from IfcSpace elements to the Room table. 

When I import a IFC model (Import IFC from administration interface) a table is created in the gis schema (gis."Detail_Room_Perimeter"), but it remains empty. In the Room table in bim schema, I can see that geometry data has been imported (in Perimeter column). In Management interface I can see the Room elements, but Dimensional Data is empty, apart from the first value - Height. 

I’m using the ImportMapper script from the sourceforge page.

My configuration:

Ubuntu 14.04 64bit

Postgresql 9.3

PostGIS 2.1

Openmaint 1.1 running on Tomcat 8.5

Bimserver 1.2 running on Tomcat 7

Any ideas on how to get this to work?

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; -webkit-text-stroke: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; -webkit-text-stroke: #000000; min-height: 14.0px} span.s1 {font-kerning: none}

Also, is there any way to export Openmaint data back to IFC models?

Dear Joao,

the bim connector has nothing to do with the tables in the gis schema, but just with the tables in the bim schema. So it is correct that the table gis.Detail_Room_Perimeter remains empty. The connector fills the Perimeter column in the bim schema, so everything is working as expected.
Then, if you want to use that geometry to set the dimensional data in the Management module you have to do it writing a trigger that, using the postgis functions, will transform and copy the Perimeter column of the bim table in the appropriate fields of the Room table in the public schema.
 

> Also, is there any way to export Openmaint data back to IFC models?

No, there is not. 
 
Regards
CMDBuild Team