AttributeSelectionListPtr anAttrSubShapes = aBase->selectionList(FeaturesPlugin_RemoveSubShapes::SUBSHAPES_ID());
theDumper << aBase << " = model.addRemoveSubShapes(" << aDocName << ", " << anAttrBaseShape << ")" << std::endl;
- theDumper << aDocName << ".setSubShapesToKeep(" << anAttrSubShapes << ")" << std::endl;
+ theDumper << aBase << ".setSubShapesToKeep(" << anAttrSubShapes << ")" << std::endl;
}
//==================================================================================================
from FeaturesAPI import addRevolution, addRevolutionCut, addRevolutionFuse
from FeaturesAPI import addPipe
from FeaturesAPI import addCut, addFuse, addCommon, addSmash, addFill
-from FeaturesAPI import addIntersection, addPartition
+from FeaturesAPI import addIntersection, addPartition, addRemoveSubShapes
from FeaturesAPI import addGroup, addRecover