Przejdź do treści
Biblioteka skilli
Inne · Analiza

inventor-diagnostics

/inventor-diagnostics

Rozwiązuje problemy z automatyzacją Autodesk Inventor: zawieszone wywołania, okna blokujące i elementy, które się nie przebudowały.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Rozwiązuje problemy z automatyzacją Autodesk Inventor: zawieszone wywołania, okna blokujące i elementy, które się nie przebudowały.

Wyzwalacze z opisu

connect
Oryginalny opis (EN)

Troubleshoot Autodesk Inventor automation through the inventor MCP tools — tool calls that hang or time out, a dialog blocking Inventor, Inventor not responding, features that failed to rebuild (red/yellow in the browser), "connect" failing, COM dispatch errors, or leftover background Inventor processes. Use when a tool call hangs or errors unexpectedly, or the user says Inventor is stuck, frozen, or shows a popup.

Jak działa

  1. First step: checkhealthandpopups()
  2. connect fails or COM errors
  3. Leftover background Inventor processes
  4. Undo a bad multi-step change
Sekcje z nagłówków SKILL.md, w oryginale · 53 linii, 405 słów
Podgląd SKILL.md
---
name: inventor-diagnostics
description: Troubleshoot Autodesk Inventor automation through the inventor MCP tools — tool calls that hang or time out, a dialog blocking Inventor, Inventor not responding, features that failed to rebuild (red/yellow in the browser), "connect" failing, COM dispatch errors, or leftover background Inventor processes. Use when a tool call hangs or errors unexpectedly, or the user says Inventor is stuck, frozen, or shows a popup.
---

# Diagnostics

## First step: `check_health_and_popups()`

It reports, without risking a hang:
- `blocking_popups`: modal dialogs open in the connected Inventor, with their title, text and buttons.
- `ui_hung`: whether Inventor's window still responds.
- `unhealthy_features`: features of the active document that failed to rebuild (only checked
  when nothing is blocking).

### A dialog is open
While a modal dialog is open, every COM call (every tool) waits until it closes.
1. Show the user the dialog's title, text and buttons.
2. Ask which button to press. Don't choose for them when the dialog asks about saving,
   deleting or overwriting.
3. Then call `check_health_and_popups(dismiss_button="<exact label>", hwnd=<dialog hwnd>)`.
   `hwnd` is required when more than one dialog is open. Labels must match exactly.
4. Run it again to confirm the dialog is gone.

### Inventor is not responding (`ui_hung: true`)
It may be busy with a long rebuild or render. Wait and check again. Don't start new tool calls.
If it stays hung, ask the user. Only they should decide to end Inventor (unsaved work is lost).

### Features failed to rebuild
Name the failing features to the user. Common causes:
- A sketch lost its reference after an earlier feature changed.
- A hole or cut no longer hits material.
- Edges that a fillet/chamfer used have changed.

Fix the earliest failing feature first. `suppress_feature` can temporarily take it out of the way.

## `connect` fails or COM errors

- Make sure Inventor is installed and can start. `connect` starts it if it is not running.
- `KeyError: '_dispobj_'` or odd attribute errors come from a stale pywin32 cache. Ask the user
  to close Python/automation and delete `%LOCALAPPDATA%\Temp\gen_py`. Then reconnect.
- After the server's code changed on disk, `reload_api` reloads it. The connection is kept.

## Leftover background Inventor processes

Headless `Inventor.exe` processes can pile up after crashed automation.
1. `supervisor_clean_processes()` is a dry run. It lists candidates: processes with no window,
   not the instance this server uses, and older than 45 s. It also warns about unsaved documents.
2. Show the list to the user. Only with their OK, call
   `supervisor_clean_processes(confirm=True, target_pids=[…])` with PIDs from that list.
3. Never kill Inventor any other way (`taskkill /IM Inventor.exe` would also close the user's own session).

## Undo a bad multi-step change

If the work was wrapped in `transaction("begin")`, `transaction("abort")` rolls it all back.
Otherwise the user can undo in Inventor (Ctrl+Z). Avoid `delete_feature` sweeps unless asked.

Wersje

W bazie nie ma innych skilli o nazwie inventor-diagnostics.

Migawka bazy z 13.11.2026 · wersja paczki f1a9e3a513de (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90inventor-assemblies
    Buduje i naprawia zestawy Autodesk Inventor przez narzędzia MCP: umieszcza części, ustala więzy i sprawdza elementy pływające.
  • 90inventor-kinematics
    Ustawia ruch mechanizmów w Autodesk Inventor: zawiasy, suwaki, ograniczenia skoku i pozycje otwarcia lub zamknięcia.
  • 98inventor-addin-scaffold
    Tworzy szkielet wtyczki do Autodesk Inventor 2025 w .NET 8 z architekturą warstwową, logowaniem i obsługą wyjątków.
  • 100inventor-cer-analyzer
    Diagnozuje paczki awarii Autodesk Inventor 2025+ z CER lub WER: dekoduje minidump, odczytuje telemetrię protobuf i zapisuje ANALYSIS.md z wyjątkiem, uszkodzonym modułem, środowiskiem i zaleceniami.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.