-
Notifications
You must be signed in to change notification settings - Fork 0
Examples AutoCAD
Truong Giang Vu edited this page May 31, 2026
·
1 revision
Sample: AcadCSharpDemo/
Use this example to get started with AutoCAD C# commands through RevitDevTool.
- AutoCAD C# command sample structure;
- editor command examples;
- logging examples for AutoCAD host integration.
- Build the sample for the matching Autodesk configuration.
- Load it through the AutoCAD host workflow available in your local setup.
- Run the sample editor/logging commands.
- Inspect AutoCAD output and RevitDevTool/DevTools logging behavior where available.
Visualization (DirectContext3D) is Revit-only and not available in AutoCAD. All other execution, logging, MCP, and testing features are shared.
| Symptom | Check |
|---|---|
| command does not load | confirm AutoCAD version/configuration matches the build |
| logging output missing | confirm the AutoCAD host integration is loaded |
| Revit-only feature missing | this is expected unless documented for AutoCAD |
- Run Code Overview
- Modern Python Scripting
- Python Debugging
- Python Ecosystems
- RevitDevTool And pyRevit
- Python Stub Generation
- Run .NET Add-ins
- Scripting Runtimes