Commit e776b2c
Enhanced Ribbon management with internal Revit cleanup
- Added internal Revit cleanup using reflection to clear RibbonItemDictionary.
- This effectively prevents "Panel already exists" errors when re-loading.
- Improved panel identification and cleanup resilience.
Co-authored-by: chuongmep <31106432+chuongmep@users.noreply.github.com>1 parent f045b12 commit e776b2c
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
55 | 73 | | |
56 | 74 | | |
57 | 75 | | |
| |||
0 commit comments