mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
6ca69d20d9
The note under "assign_type preserves per-instance" carried a caveat that skipping the mapping also keeps the occurrence's own profile/material, "fine when all types share one profile -- revisit if reassigning across different profiles". That is exactly what bit: map_material_usages lives inside the same if-block, so the occurrence kept a usage pointing at the old type's profile set and the material panel edited the old type. Replace the caveat with what actually happens, why the fix reuses material.assign_material rather than setting ForProfileSet by hand, and where the coverage lives. Tick the matching checklist item. Generated with the assistance of an AI coding tool. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>