Text note batch

From shuotao/REVIT_MCP_study · View interactive version

Text note batch is an AI agent skill from the GitHub repository shuotao/REVIT_MCP_study. TextNote 批次操作:在多個 DraftingView 中依文字內容搜尋 TextNote 並批次平移。適用於跨圖面統一調整法規文字、表格附註等重複出現的 TextNote 位置。觸發條件:使用者提到批次移動 TextNote、text note、跨視圖移動文字、批次文字調整、move text notes、batch text。工具:move_text_notes_in_views。

How to use this skill

Skill file

TextNote 批次操作

在多個 DraftingView 中依文字內容搜尋 TextNote 並批次平移。

Available Tools

| 工具 | 用途 |

|------|------|

| move_text_notes_in_views | 依文字子字串搜尋 TextNote,跨 DraftingView 批次平移 |

Workflow:批次移動 TextNote

Step 1:確認目標文字

從使用者的截圖或描述中辨識要移動的 TextNote 內容,擷取一段獨特的子字串作為 textMatch。

Step 2:dryRun 預覽

先用 dryRun: true 確認搜尋結果正確:

move_text_notes_in_views(
  textMatch: "目標文字子字串",
  deltaYMm: 5,
  dryRun: true
)

Step 3:執行移動

確認無誤後,去掉 dryRun 執行:

move_text_notes_in_views(
  textMatch: "目標文字子字串",
  deltaYMm: 5
)

Step 4(選填):限定特定 view

若只需要在部分 view 中操作:

move_text_notes_in_views(
  textMatch: "目標文字子字串",
  deltaYMm: 5,
  viewNames: ["面積比較表_A01", "面積比較表_A02"]
)

Parameters

`move_text_notes_in_views`

| 參數 | 說明 | 預設 |

|------|------|------|

| textMatch | TextNote 文字內容子字串(不區分大小寫) | 必填 |

| deltaXMm | 水平位移(mm),正=右、負=左 | 0 |

| deltaYMm | 垂直位移(mm),正=上、負=下 | 0 |

| viewNames | 限定搜尋的 DraftingView 名稱清單(選填) | 全部 DraftingView |

| dryRun | true=僅搜尋不移動 | false |

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.