- ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), SketchPlugin_SketchEntity::COPY_ID());
- AttributeBooleanPtr anAttrBool = std::dynamic_pointer_cast<ModelAPI_AttributeBoolean>(anAttr);
- if(anAttr.get()) {
- anAttrBool->setValue(false);
- }
+ ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(),
+ SketchPlugin_SketchEntity::COPY_ID());