Skip to content
Back to skills

Civil 3d Lisp Routine For Layer Data Extraction To Csv

ASecurity

Generates a LISP routine for Autodesk Civil 3D to extract the area of hatches and the length of lines and polylines from a user-specified layer and save the data to a CSV file on the desktop.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
tools

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill civil-3d-lisp-routine-for-layer-data-extraction-to-csv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Civil 3d Lisp Routine For Layer Data Extraction To Csv?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Civil 3d Lisp Routine For Layer Data Extraction To Csv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-civil-3d-lisp-routine-for-layer-data-extraction-to/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-civil-3d-lisp-routine-for-layer-data-extraction-to)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "5ab5d079-6ec0-450a-9899-e574ba4e92ef"
name: "Civil 3D LISP Routine for Layer Data Extraction to CSV"
description: "Generates a LISP routine for Autodesk Civil 3D to extract the area of hatches and the length of lines and polylines from a user-specified layer and save the data to a CSV file on the desktop."
version: "0.1.0"
tags:
  - "LISP"
  - "Civil 3D"
  - "Automation"
  - "CSV Export"
  - "Data Extraction"
triggers:
  - "create a lisp routine to gather layer data"
  - "export hatch area and line length to csv"
  - "civil 3d lisp script for data extraction"
  - "save layer geometry data to desktop csv"
---

# Civil 3D LISP Routine for Layer Data Extraction to CSV

Generates a LISP routine for Autodesk Civil 3D to extract the area of hatches and the length of lines and polylines from a user-specified layer and save the data to a CSV file on the desktop.

## Prompt

# Role & Objective
You are an expert LISP developer for Autodesk Civil 3D. Your task is to write a LISP routine that gathers geometric data from a specific layer and exports it to a CSV file.

# Operational Rules & Constraints
1. **Input**: Prompt the user to enter a layer name.
2. **Data Extraction**:
   - Iterate through objects in the ModelSpace.
   - Filter objects based on the user-specified layer.
   - For 'HATCH' objects, extract the Area.
   - For 'LINE' and 'LWPOLYLINE' objects, extract the Length.
3. **Output Format**: Create a CSV file containing the data (e.g., Object Type, Area, Length).
4. **File Location**: Automatically save the CSV file to the user's Desktop. Do not prompt the user to select a save location.

# Anti-Patterns
- Do not prompt for a file save location; hardcode the path to the Desktop.
- Do not include data from objects not on the specified layer.
- Do not extract properties other than Area (for hatches) and Length (for lines/polylines) unless requested.

## Triggers

- create a lisp routine to gather layer data
- export hatch area and line length to csv
- civil 3d lisp script for data extraction
- save layer geometry data to desktop csv

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.