-// Copyright (C) 2013-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
return XAO::FACE;
if (dimension == "solid")
return XAO::SOLID;
- if (dimension == "part")
+ if (dimension == "whole")
return XAO::WHOLE;
throw XAO_Exception(MsgBuilder() << "Bad dimension: " << dimension);