acad-sheet-sets

Manage AutoCAD Sheet Set (.dst) databases via COM with explicit locking.

3|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/hebackus/c3d-api-plugin --skill acad-sheet-sets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: acad-sheet-sets
Source: https://github.com/hebackus/c3d-api-plugin/tree/main/skills/acad-sheet-sets
Command: npx skills add https://github.com/hebackus/c3d-api-plugin --skill acad-sheet-sets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sheet Set Manager exposes a COM-based API for AutoCAD Civil 3D sheet sets (.dst), enabling automation when a managed .NET API is unavailable. It guides developers to work around COM interop with CLSIDs and to avoid unnecessary DLLs like AcSmComponents.Interop.dll to prevent NETLOAD issues.

Core Features & Use Cases

  • Opening and locking .dst databases, reading tree structures of sheets and subsets, and navigating the sheet set hierarchy.
  • Reading and writing per-sheet custom properties, including flags and inheritance behavior, with proper COM object management.
  • Commit or discard changes with explicit lock/unlock workflows and robust resource cleanup.

Quick Start

Open the Sheet Set database via COM using CLSIDs, enumerate sheets and subsets, and optionally modify custom properties while ensuring proper lock handling and releasing COM objects.

Frequently Asked Questions about acad-sheet-sets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AutoCAD Sheet Set .dst files when a native .NET API is unavailable?

You can automate AutoCAD Sheet Set .dst files via the COM API using CLSIDs to open databases, read sheet hierarchies, and modify custom properties without needing managed DLLs.

Why should I avoid AcSmComponents.Interop.dll for Civil 3D sheet set automation?

Avoiding AcSmComponents.Interop.dll prevents NETLOAD issues in Civil 3D environments; using dynamic COM via CLSIDs provides a safer alternative for interacting with .dst databases.

How do I read and write per-sheet custom properties in a .dst database?

Read and write per-sheet custom properties by opening the .dst database via COM, navigating the sheet set hierarchy, and modifying property flags while ensuring proper lock and unlock semantics.

What is the best way to manage COM resources when modifying AutoCAD sheet sets?

Manage COM resources by explicitly calling Marshal.ReleaseComObject to clean up objects, preserving .dst file integrity through proper lock and unlock workflows before committing changes.

Does this approach support both AutoCAD and Civil 3D environments for sheet set management?

Yes, this COM-based sheet set automation approach applies to both AutoCAD and Civil 3D environments, enabling you to read subsets and lock databases programmatically across both platforms.

How do I preserve .dst file integrity during programmatic sheet set modifications?

Preserve .dst file integrity by applying explicit lock and unlock workflows, committing or discarding changes appropriately, and ensuring robust resource cleanup with Marshal.ReleaseComObject.