-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
anAIS.reset(new GeomAPI_AISObject());
}
anAIS->createShape(aCompound);
+ SketchPlugin_Tools::customizeFeaturePrs(anAIS, boolean(AUXILIARY_ID())->value());
return anAIS;
}
if(anArcType == ARC_TYPE_BY_TANGENT_EDGE()) {
aFilledAttributeName = TANGENT_POINT_ID();
AttributeRefAttrPtr aRefAttr = refattr(aFilledAttributeName);
- FeaturePtr aCreatedFeature = aReentrantMessage->createdFeature();
aRefAttr->setAttr(aCreatedFeature->attribute(SketchPlugin_Arc::END_ID()));
}
else if (anArcType == ARC_TYPE_BY_TRANSVERSAL_LINE()) {
if (aRefAttr.get()) {
if (anAttribute.get()) {
if (!anAttribute->owner().get() || !anAttribute->owner()->data()->isValid()) {
- FeaturePtr aCreatedFeature = aReentrantMessage->createdFeature();
if (aCreatedFeature.get()) {
std::string anID = anAttribute->id();
std::string anArcID;