: test reference Arc attribute is commented
isInversed->setValue(false);
anArcType->setValue(ARC_TYPE_CENTER_START_END());
- data()->addAttribute(CENTER_REF_ID(), ModelAPI_AttributeRefAttr::typeId());
- ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), CENTER_REF_ID());
+ //data()->addAttribute(CENTER_REF_ID(), ModelAPI_AttributeRefAttr::typeId());
+ //ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), CENTER_REF_ID());
}
void SketchPlugin_Arc::execute()
<toolbox id="ArcType">
<box id="CenterStartEnd" title="Center and two points" icon="icons/Sketch/arc_base_32x32.png">
<sketch-2dpoint_selector id="ArcCenter" accept_expressions="0" title="Center" tooltip="Center of a circle"
- enable_value="enable_by_preferences" reference_attribute="ArcCenterRef"/>
+ enable_value="enable_by_preferences" />
+ <!--reference_attribute="ArcCenterRef" />-->
<sketch-2dpoint_selector id="ArcStartPoint" accept_expressions="0" title="Start point" tooltip="Start point"
enable_value="enable_by_preferences"/>
<sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"