Swpilotcli list features

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli list features is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. List features in the active SolidWorks document's Feature Tree, printing each feature's type and name. Walks from `FirstFeature()` via `GetNextFeature()`. Accepts an optional integer argument to limit output count (default: all features). Use to locate named reference planes, inspect feature order,

How to use this skill

Skill file

SolidWorks List Features

Print the active document's Feature Tree as [TypeName] Name lines.

Prerequisites

What this Skill does

When to use

Quick start

# List all features
dotnet run --project ./sup_tools/swpilotcli-list-features/scripts/ListFeatures/ListFeatures.csproj

# List only the first 20 features
dotnet run --project ./sup_tools/swpilotcli-list-features/scripts/ListFeatures/ListFeatures.csproj -- 20

Return codes

| Code | Meaning |

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

| 0 | Success |

| 1 | General error |

| 2 | Cannot connect to SolidWorks |

| 3 | No active document |

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.