# Remove the middle Part
model.removePart(Copy_2)
+# move the history line to the end, because remove makes the current feature up
+PartSet.setCurrentFeature(Copy_3.feature(), False)
model.do()
# check the intermediate result
# Remove a first copy
model.removePart(Copy_1)
+# move the history line to the end, because remove makes the current feature up
+PartSet.setCurrentFeature(Copy_3.feature(), False)
model.end()
# Undo the last remove