opensourceBIM / bimvie.ws

Javascript client for Building Information Modelling, using open standards like IFC, BCF and BIMSie. Using Bootstrap, BIM Surfer, etc..
GNU Affero General Public License v3.0
171 stars 87 forks source link

bimvie.ws blocks when processing models with classifications (IfcClassificationNotation) #68

Open jm-k opened 7 years ago

jm-k commented 7 years ago

Did some work on classification but found that bimvie.ws blocks when using a model with embedded (IfcClassificationNotation) classification .

JS Error> TypeError: relatingClassification.getName is not a function

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

1) RelatingClassification is of type IfcClassificationNotationSelect 2) IfcClassificationNotationSelect is a select of either 2.1) IfcClassificationReference (which possess a name attribute) 2.2)IfcClassificationNotation (which do not possess this attribute)

Regards

rubendel commented 7 years ago

Do you perhaps have the ability to share this model? That would simplify fixing the bug.

jm-k commented 7 years ago

Oops forgot that :( Please see rev 5 in the project boreltest on thisisanexperimentalserver.com

Regards.