ResultPtr aResult = myWorkshop->selection()->getResult(thePrs);
GeomShapePtr aShape = aResult.get() ? aResult->shape() : GeomShapePtr();
// some results have no shape, e.g. the parameter one. So, they should not be validated
ResultPtr aResult = myWorkshop->selection()->getResult(thePrs);
GeomShapePtr aShape = aResult.get() ? aResult->shape() : GeomShapePtr();
// some results have no shape, e.g. the parameter one. So, they should not be validated