- data()->addAttribute(COPY_ID(), ModelAPI_AttributeBoolean::typeId());
- ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), AUXILIARY_ID());
- ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), COPY_ID());
+
+ initDerivedClassAttributes();
+
+ AttributePtr anAttr = data()->addAttribute(SketchPlugin_SketchEntity::COPY_ID(),
+ ModelAPI_AttributeBoolean::typeId());
+ anAttr->setIsArgument(false);
+ ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(),
+ SketchPlugin_SketchEntity::COPY_ID());