c3d-sample-lines

Automate discovery and labeling of Civil 3D sample lines and section networks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps Civil 3D users manage sample lines, sample line groups, and their associated section views and networks, enabling efficient discovery and labeling in cross-section workflows.

Core Features & Use Cases

  • Access and enumerate sample line groups from alignments.
  • Iterate sample lines to obtain chainage, GetSectionIds and GetSectionViewIds for each sample line.
  • Determine gravity and pressure networks referenced by sections for labeling or analysis.
  • Discover which sections sample lines cover to drive labeling decisions and quality checks.

Quick Start

Label gravity and pressure networks across the first alignment's sample lines to create section views and cross-section labels.

Frequently Asked Questions about c3d-sample-lines

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

FAQPage Schema
How do I get sample line IDs from a Civil 3D alignment?

You can retrieve sample line IDs from a Civil 3D alignment by accessing its sample line groups and iterating through the available sample lines using the SampleLine .NET API. This skill automates discovering sample lines and their associated chainage for cross-section workflows.

Can I label gravity and pressure pipe networks in Civil 3D section views?

Yes, you can label gravity and pressure pipe networks in Civil 3D section views. This skill determines the pipe networks referenced by sections using the SourceId relationship, enabling automated labeling across discovered sample lines and their respective section views.

How do I enumerate section view IDs for multiple sample line groups?

To enumerate section view IDs for multiple sample line groups, you iterate through each sample line and call GetSectionViewIds. This skill applies to alignments with diverse sample line groups, retrieving the necessary section view IDs for labeling and analysis.

Do I need Civil 3D .NET APIs to automate sample line discovery?

Yes, you need access to Civil 3D .NET APIs to automate sample line discovery and labeling. This skill requires the SampleLine, Section, and SectionPipeNetwork APIs to retrieve IDs and establish SourceId relationships for cross-section analysis.

What is the best way to discover which sections a sample line covers?

The best way to discover which sections a sample line covers is to iterate the sample lines and call GetSectionIds. This skill demonstrates patterns for retrieving section IDs and their underlying networks to drive labeling decisions and quality checks.