Skip to content

Commit

Permalink
Added IfcCountMeasure
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Apr 25, 2017
1 parent 1c62891 commit 667d84e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PluginBase/src/org/bimserver/utils/IfcUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.bimserver.models.ifc2x3tc1.IfcBuildingStorey;
import org.bimserver.models.ifc2x3tc1.IfcCartesianPoint;
import org.bimserver.models.ifc2x3tc1.IfcClassificationNotationSelect;
import org.bimserver.models.ifc2x3tc1.IfcCountMeasure;
import org.bimserver.models.ifc2x3tc1.IfcElectricCurrentMeasure;
import org.bimserver.models.ifc2x3tc1.IfcElement;
import org.bimserver.models.ifc2x3tc1.IfcElementQuantity;
Expand Down Expand Up @@ -293,6 +294,8 @@ private static Object nominalValueToObject(IfcValue nominalValue) {
return ((IfcElectricCurrentMeasure)nominalValue).getWrappedValue();
} else if (nominalValue instanceof IfcLogical) {
return ((IfcLogical)nominalValue).getWrappedValue();
} else if (nominalValue instanceof IfcCountMeasure) {
return ((IfcCountMeasure)nominalValue).getWrappedValue();
} else {
throw new RuntimeException("Not implemented: " + nominalValue.eClass().getName());
}
Expand Down

0 comments on commit 667d84e

Please sign in to comment.