acad-mtext

Create and format AutoCAD MText and DBText objects with formatting codes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of creating and formatting AutoCAD text objects (MText and DBText), including support for formatting codes, text styles, and column layouts to ensure consistency across drawings.

Core Features & Use Cases

  • MText and DBText creation with configurable location, width, height, and style.
  • Formatting codes support (paragraphs, colors, font changes, alignment) and basic fragment parsing.
  • Use Case: Automate text blocks in Civil 3D drawings with consistent typography and column layouts.

Quick Start

Create an MText object at a chosen location with a specified width and apply a text style and basic formatting codes.

Frequently Asked Questions about acad-mtext

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

FAQPage Schema
How do I programmatically create and format AutoCAD MText objects?

Programmatically create AutoCAD MText objects by using API calls to set location, width, height, and style. This process handles multiline text creation, applies formatting codes for paragraphs and colors, and manages column layouts.

Does this approach support Civil 3D text styles and column layouts?

Yes, this approach supports Civil 3D text styles and column layouts. You can configure text styles and implement column handling within typical Civil 3D drawing workflows to ensure consistent typography across automated text blocks.

What is the difference between MText and DBText when formatting text in AutoCAD?

MText supports multiline text with complex formatting codes, paragraph breaks, and column layouts, while DBText is generally used for single-line text. This Skill covers the API usage and formatting required for both MText and DBText creation.

Can I apply formatting codes like font changes and colors to AutoCAD text via the API?

Yes, you can apply formatting codes like font changes and colors to AutoCAD text via the API. The Skill supports formatting codes for paragraphs, colors, font changes, and alignment, along with basic fragment parsing for MText content.

What are the limitations of using API-driven text formatting for AutoCAD drawings?

Limitations of API-driven text formatting include handling complex fragment parsing and ensuring consistent column layouts across different drawing scales. While it automates MText and DBText creation, users must manage formatting codes carefully to avoid typography inconsistencies.