opensourceBIM / BIMserver-JavaScript-API

BIMserver JavaScript API
GNU Lesser General Public License v3.0
55 stars 35 forks source link

ifc2x3tc1.js inverse not set properly ? #29

Open aurelien-gille opened 5 years ago

aurelien-gille commented 5 years ago

Hello

I was checking an object on BimView and I saw on my object a fields is set as an inverse but it isn't on buildingsmart-tech.org (cf screenshot) Maybe it's a mistake ? This file seems to have some other inconsistencies with the documentation provided by BuildingSmart I can point them out if you wish best regards

Capture

rubendel commented 5 years ago

It's a known issue, BIMserver basically labels both sides of each inverse relation as being inverse. Internally there is no difference for BIMserver. In this case, IfcRepresentation.RepresentationMap is the inverse relation of IfcRepresentationMap.MappedRepresentation. Shouldn't be too hard to fix.

aurelien-gille commented 5 years ago

Continuing looking around, "IFCProcess" fields seems missing I've not looking the whole file (18798 lines is hard to check)

Capture

rubendel commented 5 years ago

Are you sure you are looking at the Ifc2x3tc1 documentation?

http://www.buildingsmart-tech.org/ifc/IFC2x3/TC1/html/ifckernel/lexical/ifcprocess.htm

rubendel commented 5 years ago

Probably not, those fields are added in http://www.buildingsmart-tech.org/ifc/IFC4/final/html/schema/ifckernel/lexical/ifcprocess.htm

aurelien-gille commented 5 years ago

You're completely right, sorry, too many tabs opened when I check this one