From 21b35767ba902a371c6af9d608a660f8af070d5d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 2 Aug 2016 15:53:41 +0200 Subject: [PATCH] Fix #109 --- src/ifcgeom/IfcGeomIterator.h | 3 ++- src/ifcwrap/IfcGeomWrapper.i | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomIterator.h b/src/ifcgeom/IfcGeomIterator.h index 24ea6aa137..02f1e565f0 100644 --- a/src/ifcgeom/IfcGeomIterator.h +++ b/src/ifcgeom/IfcGeomIterator.h @@ -161,8 +161,9 @@ namespace IfcGeom { // just for backwards compatibility: context_types.insert("model"); context_types.insert("design"); - // DDS likes to output 'model view' + // Some earlier (?) versions DDS-CAD output their own ContextTypes context_types.insert("model view"); + context_types.insert("detail view"); } if (settings.get(IteratorSettings::INCLUDE_CURVES)) { context_types.insert("plan"); diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 65689edeeb..c9455c5041 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -305,6 +305,7 @@ struct ShapeRTTI : public boost::static_visitor context_types.insert("model"); context_types.insert("design"); context_types.insert("model view"); + context_types.insert("detail view"); } if (settings.get(IfcGeom::IteratorSettings::INCLUDE_CURVES)) { context_types.insert("plan");