- GeomShapePtr aShape = aSelAttr->value();
- if(!aShape.get()) {
- ResultPtr aContext = aSelAttr->context();
- if(!aContext.get()) {
- theError = "Selection attribute \"" + *anArgsIt + "\" can not be empty.";
- return false;
- }
-
- aShape = aContext->shape();
- }