Swpilotcli ActionGroup replace notes

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli ActionGroup replace notes is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. [ActionGroup] Batch replace text inside Note annotations across all SolidWorks drawings (.slddrw) in a specified folder (root only)." For each drawing, opens it silently, finds all Notes containing the search text, replaces every occurrence, saves a copy with a custom suffix to a specified output fo

How to use this skill

Skill file

swpilotcli-ActionGroup-replace-notes

Prerequisites

What this Skill does

  1. Scans the source folder for all .slddrw files (root only, no subdirectories)
  2. For each drawing:
  1. Reports a summary of all modified files

When to use

Use when the user wants to batch-update note text across many drawings in one operation.

For single-file note replacement, use swpilotcli-replace-note-text instead.

Quick start

dotnet run --project ./sup_tools/swpilotcli-ActionGroup-replace-notes/scripts/ReplaceNotes/ReplaceNotes.csproj -- "<sourceFolder>" "<outputFolder>" "<find>" "<replace>" "<suffix>"

Examples

# Replace 頂峰 with 廠商, save copies to a subfolder with _廠商 suffix
dotnet run --project ... -- "H:\drawings" "H:\drawings\output" "頂峰" "廠商" "_廠商"

Arguments

| # | Name | Description |

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

| 1 | sourceFolder | Folder containing source .slddrw files |

| 2 | outputFolder | Folder where modified copies are saved (created if not exists) |

| 3 | find | Text to search for (case-sensitive) |

| 4 | replace | Replacement text |

| 5 | suffix | Filename suffix added before .slddrw extension |

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.