-// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <CollectionPlugin_GroupAddition.h>
#include <CollectionPlugin_GroupIntersection.h>
#include <CollectionPlugin_GroupSubstraction.h>
+#include <CollectionPlugin_GroupShape.h>
#include <CollectionPlugin_Field.h>
#include <CollectionPlugin_Validators.h>
#include <ModelAPI_Session.h>
new CollectionPlugin_FieldValidator);
aFactory->registerValidator("CollectionPlugin_OperationAttribute",
new CollectionPlugin_GroupOperationAttributeValidator);
+ aFactory->registerValidator("CollectionPlugin_GroupSelectionValidator",
+ new CollectionPlugin_GroupSelectionValidator);
// register this plugin
ModelAPI_Session::get()->registerPlugin(this);
return FeaturePtr(new CollectionPlugin_GroupIntersection);
} else if (theFeatureID == CollectionPlugin_GroupSubstraction::ID()) {
return FeaturePtr(new CollectionPlugin_GroupSubstraction);
- }
+ } else if (theFeatureID == CollectionPlugin_GroupShape::ID()) {
+ return FeaturePtr(new CollectionPlugin_GroupShape);
+ }
// feature of such kind is not found
return FeaturePtr();