[Domain] 視圖樣板比較功能 - #126
Open
CyberPotato0416 wants to merge 2 commits into
Open
CyberPotato0416 wants to merge 2 commits into
CyberPotato0416 wants to merge 2 commits into
Conversation
CyberPotato0416
force-pushed
the
feat/view-template-comparison
branch
from
September 8, 2026 22:39
33a65f2 to
57c371e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
本 PR 新增「視圖樣板比對矩陣 (View Template Comparison Matrix)」Domain
(
domain/view-template-comparison.md)。視圖樣板原生限制:Revit 原生介面(視圖 > 視圖樣板 > 管理視圖樣板)一次只能開啟並查看單一 View Template 的設定視窗。
痛點:專案後期視圖樣板數量繁多,常因細微的品類隱藏、過濾器覆蓋或細緻度差異,導致跨圖紙 (Sheets) 輸出圖面不一致。工程師無法將 2 個或多個樣板「並列 (Side-by-Side)」進行設定對比,更沒有「僅顯示差異 (Show Diff Only)」、「黃底紅字高亮」、「匯出 Excel/CSV 比對矩陣」或「一鍵生成對比製圖視圖 (Drafting View)」的功能。
💡 工具用途 (Purpose)
🎯 適用情境與專案階段 (Applicable Scenarios)
A-平面圖、A-建照圖、M-空調平面等樣板是否符合規範。📄 文件內容亮點 (
domain/view-template-comparison.md)Snowdon Towers Sample Architectural.rvt) 之真實 API 回傳數據 (Architectural PlanID: 29485 vsArchitectural Life Safety PlanID: 2157001),開箱即用即可對齊單元測試。[完整矩陣]/[僅顯示差異項]頁籤、分組類別欄位與多彩/黃底紅字高亮樣式。GetIdVal) 與原生ViewDrafting圖面自動生成邏輯。🛡️ 核心邊界與原則 (Safety Boundaries)
SetCategoryOverrides或修改視圖樣板參數的按鈕,防止批次覆蓋導致全專案視圖設定失控,目前暫定修改操作必須回到 Revit 原生 UI 手動確認。