acad-polylines

Read, update, and convert AutoCAD polylines using the .NET API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Polyline, Polyline2d, Polyline3d are common CAD constructs; this skill provides guidance to create, read, modify, and convert between polyline types, including vertex handling and bulge management, to streamline 2D/3D drafting tasks.

Core Features & Use Cases

  • Create and modify polylines (Polyline / Polyline2d / Polyline3d) with vertex-level control, bulges, and elevation.
  • Read vertex data across polyline types and perform conversions between 2D and 3D representations.
  • Use cases include extracting geometry, computing areas for closed polylines, and converting polylines for downstream CAD workflows.

Quick Start

Create a simple 2D polyline by adding points with bulges and add it to the model space.

Frequently Asked Questions about acad-polylines

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

FAQPage Schema
How do I convert between 2D and 3D polylines in AutoCAD .NET?

To convert between 2D and 3D polylines in AutoCAD .NET, you read vertex data across polyline types and apply cross-type conversions. This allows you to transform Polyline2d and Polyline3d representations for downstream CAD workflows.

How do I edit polyline vertices and adjust bulges using the AutoCAD .NET API?

Editing polyline vertices and adjusting bulges using the AutoCAD .NET API is done by applying vertex-level control to Polyline, Polyline2d, or Polyline3d objects. This provides granular manipulation of 2D and 3D geometry, including elevation and curvature.

What is the difference between Polyline, Polyline2d, and Polyline3d in AutoCAD?

Polyline, Polyline2d, and Polyline3d are distinct AutoCAD CAD constructs for representing 2D and 3D geometry. The difference lies in their vertex handling and dimensional properties, which can be read, updated, and converted using the AutoCAD .NET API.

Do I need a C# development environment to manipulate AutoCAD polylines programmatically?

Yes, you need a C# development environment to manipulate AutoCAD polylines programmatically. This environment must include the AutoCAD .NET API libraries and a configured project setup to compile and run the sample code for vertex editing and conversions.

Can I compute the area for closed polylines using the AutoCAD .NET API?

Yes, you can compute the area for closed polylines using the AutoCAD .NET API. By reading the vertex data and geometry of the closed Polyline or Polyline2d objects, the API allows you to perform area calculations for 2D and 3D drafting tasks.