mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
d911f18449
RemoveAnnotationFromDrawing read context.active_object, so taking several annotations off a drawing meant selecting and clicking them one at a time, even though AddAnnotationToDrawing already works across the whole selection. It now mirrors the add operator: every selected IfcAnnotation that is actually on this drawing is removed, drawing annotations are skipped, and the outcome is reported as removed and skipped counts. The skipped count covers annotations that must stay on at least one drawing, which the old code could only report for the active object. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>