diff --git a/libsrc/occ/occgeom.cpp b/libsrc/occ/occgeom.cpp index 033dd645..38f069bd 100644 --- a/libsrc/occ/occgeom.cpp +++ b/libsrc/occ/occgeom.cpp @@ -1747,7 +1747,10 @@ namespace netgen Array shape_list; ar & dimension; - for (auto typ : { TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE }) + auto types = Array{ TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE }; + if(ar.GetVersion("netgen") >= "v6.2.2406-22") + types.Append(TopAbs_VERTEX); + for (auto typ : types) for (TopExp_Explorer e(shape, typ); e.More(); e.Next()) { auto ds = e.Current();