Inspector - Simulation debugging tool

The Inspector .NET add-on helps understand simulation state and behavior by showing detailed information about simulation objects. The focus is on read-only access to information which is not easily accessible from VC Premium’s user interface.

The Inspector can be used to see things like details of PM product matching and flow, full simulation node hierarchy, C# properties of any .NET API object etc.

Video explaining the core concepts and use:

Gadgets included in the first release:

  • PM product: Show basic info and flow state, visualize current transport solution of product instance.
  • PM product matcher: Collects and visualizes product need and feed matches in layout. Visualizes matches, pending product needs and feeds in 3D overlay.
  • Object bounds: Show dimensions of any IVisualObject bounding volume.
  • Dynamic component: Shows parent component and component container of simulation runtime component.
  • Object hierarchy: Shows full simulation node (ISimNode) hierarchy tree, including dynamic components, and component internals.
  • Property container: Shows searchable & inspectable list of names and values of IProperties from any IPropertyContainer.
  • .NET API object: Shows C# properties of any API object organized by interface.
  • Inspectable collection: Lists contents of any .NET IEnumerable collection and allows inspecting the values.

Download:
For Visual Components 5:
Plugin.Inspector.Bootstrap.vc5.zip (11.0 KB)

For Visual Components versions from 4.9.1 to 4.10.2:
Inspector add-on.zip (10.7 KB)

The inspector add-on is only available for Visual Components 4.9.1 (released 29th Aug 2024) and newer.
Extract the Plugin.Inspector.Bootstrap.dll to your Visual Components installation directory, then run VC.

The add-on updates itself automatically.

7 Likes

Inspector version 2.0 with advanced search is now out!

Inspector version 2.0 adds a powerful advanced search feature. It can find text from almost anywhere deep in the simulation layout and presents the results in a convenient tree structure with context such as parent component.

The search also provides few different ways to utilize the results, like copying values or automatically opening the appropriate VC UI for editing the found object.

Major features

  • Deep search of simulation objects, including:
    • Static and dynamic component internals
    • Python scripts
    • Expressions
    • PM and robot statements
    • PM objects such as product types and assemblies
    • Reference properties
    • etc.
  • Contains, wildcards, and regex search.
  • “Goto” which opens the appropriate UI for viewing and editing a found object.
  • Powerful advanced filtering of results using a tree grid control

Limitations

  • Can’t find anything from add-ons such as VC OLP or KUKA.Sim add-on. These have their own internal data models of which the inspector can’t know anything.
  • The search uses APIs not available in VC Essentials, so the Inspector add-on is not available for that anymore.
  • The search is based on matching extracted text values, so finding combinations or numerical values such as e.g. “Objects that have a property with certain value” can be tricky.
6 Likes

Advanced search settings added in version 2.2.

What areas of simulation the inspector search covers can now be controlled in much finer detail, which helps filter out unwanted results. This version also further expands the search scope with a generic API traverser and text extractors which come with some compromises and are disabled by default.

Narrated explanation and demo:

5 Likes

Hi, where can I download the latest release of the Inspector Tool for VC version 4.10?

It’s already the latest version

1 Like

Version 2.5 now available

Inspector version 2.5 adds powerful text replacement functionality and extends search to cover simulation interfaces.

What’s New

Text Replace

  • Find and replace text and numerical values across simulation
  • Regex and whole line replace support
  • Preview changes before applying
  • Undo support

Interface Search

  • Search through simulation interfaces, their content and connections

Narrated demonstration video


The Inspector add-on updates itself automatically if your VC version is still supported.

7 Likes

How can I obtain the latest plugins?

You can download the file in the first post. The add-on updates itself automatically.

Hi, It says Inspector: Fail to get lastest inspector installer imformation from server when I run VC.
How can I fix this problem?

Are you behind a strict firewall? It needs to access a backend service in Microsoft Azure hosted in Europe.

Well, yes. Thank you for this information. I will ask the IT guys in my company to help me access the Azure-hosted service.

Inspector has been added to Addon Store - Manage your addon installations for 4.9.1 to 4.10.X (Professional & Premium)

1 Like

Inspector add-on 3.0 for VC 5 — AI Meets Your Simulation

TL;DR: Have a conversation with an AI about your VC layout. Ask questions in plain English, get answers about your factory layout, Process Modeling, and material flows. The AI reads your live simulation data through an embedded MCP server in the Inspector add-on.

Inspector 3.0 requires Visual Components 5. It is not available for VC 4.x.


What is Inspector 3.0?

Inspector 3.0 turns your running Visual Components simulation into an AI-readable data source using an embedded MCP (Model Context Protocol) server. By connecting GitHub Copilot in VS Code, you can issue complex tasks in natural language, and the AI will autonomously use 21 specialized tools to browse, analyze, and document your layout.

Read-only & Safe: The AI can observe, query, take screenshots, and analyze your simulation, but it cannot modify your layout. This prevents the AI from breaking your model. It can only change UI states (select, move camera, pause/play) and create interactive Notes in VC.

Example Tasks:

  • “Generate a markdown report with a mermaid diagram of the material flow and screenshots of each work cell in the vc layout.”
  • “Analyze all signal connections in vc. Find any disconnected interfaces and document them.”
  • “Run the vc simulation to 10 minutes, take a screenshot, and check for queue buildups.”

Quick Setup

1. Install the Add-on:
Download Plugin.Inspector.Bootstrap.vc5.dll from here and place it in your VC 5 install folder (e.g., C:\Program Files\Visual Components\Visual Components Premium 5.0\). Restart VC.
Plugin.Inspector.Bootstrap.vc5.zip (11.0 KB)

2. Start the MCP Server:
In Visual Components, navigate to the Inspector ribbon group, open the MCP Server dialog, and start the server (it is not enabled by default).

3. Connect VS Code:
Create a .vscode/mcp.json file in your workspace:

{
  "servers": {
    "visual-components": {
      "type": "http",
      "url": "http://localhost:3000/mcp"
    }
  }
}

4. Start Chatting:
In VS Code, open Copilot Chat, switch to Agent mode, enable the visual-components tools, and start asking questions!

See the Quick Start Guide for full details and the complete tool list
inspector-3.0-quick-start-guide-public.pdf (442.2 KB)


Requirements

  • Visual Components 5 (excluding Essentials)
  • VS Code with GitHub Copilot or other MCP-compatible AI agent

Feedback Wanted! Let me know what workflows are most useful, where the AI struggles, and any bugs you find. Share your thoughts in this thread!

8 Likes