c3d-surfaces

Automate Civil 3D surface creation, modification, and analysis in AutoCAD .NET workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Civil 3D surface workflows (Tin/Grid/Volume) can be complex and error-prone when done manually or from scripts. This Skill provides a comprehensive, code-oriented guide to creating, modifying, querying, and analyzing surfaces, including TIN and Grid variants, volume surfaces, and operations like breaklines, contours, and boundaries.

Core Features & Use Cases

  • Create TinSurface, GridSurface, TinVolumeSurface, and GridVolumeSurface programmatically.
  • Add and manage breaklines, boundaries, and contours; compute volumes and extract elevation data.
  • Query surface properties and perform analyses (elevation, slope, intersection, sampling) within Civil 3D .NET workflows for design automation and validation.

Quick Start

Create a TinSurface named 'MySurface', then add a boundary and generate contours for a design region.

Frequently Asked Questions about c3d-surfaces

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

FAQPage Schema
How do I create a TinSurface programmatically using the Civil 3D .NET API?

To create a TinSurface programmatically using the Civil 3D .NET API, utilize the Autodesk.Civil.DatabaseServices namespace to instantiate surface objects, add boundaries, and generate contours within automated design workflows.

What is the difference between TinVolumeSurface and GridVolumeSurface in Civil 3D automation?

In Civil 3D automation, TinVolumeSurface and GridVolumeSurface are variants used to compute volume differences between base and comparison surfaces, differing primarily in their underlying triangulated versus gridded geometric modeling structures.

Can I extract contours and elevation data from a Civil 3D surface via code?

Yes, you can extract contours and elevation data from a Civil 3D surface via code by querying surface properties and performing analyses using the Civil 3D .NET API to retrieve boundaries and elevation information for design validation.

Does the Civil 3D .NET API support adding breaklines to GridSurface objects?

Yes, the Civil 3D .NET API supports adding and managing breaklines for GridSurface objects, enabling you to modify surface triangulation and accurately represent linear topographic features within your automated workflows.

How do I query surface properties like slope and elevation in AutoCAD .NET workflows?

To query surface properties like slope and elevation in AutoCAD .NET workflows, execute built-in analysis methods provided by Autodesk.Civil.DatabaseServices to sample intersections and validate design constraints programmatically.