Skip to main content
skill CX Codex

pcad-to-autocad — Claude Code skill: conversion and setup

The pcad-to-autocad skill guides the conversion of P-CAD files into AutoLISP and their rendering in AutoCAD. Use it to automate the route from a .pcad drawing to an AutoCAD run.

no license 1 installs ★ 1 updated 2026-02-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add BinLi2016/Uchannel --skill pcad-to-autocad -a claude-code
Open on GitHub

What pcad-to-autocad does

The guide uses a Python script, pcad_to_autolisp.py, to turn a .pcad file into .lsp. The script also writes a neighboring .scr file, which you can drop into AutoCAD or pass when launching the application with /b.

You need Python and an installed copy of AutoCAD, and the .pcad file must use UTF-8. Rendering cannot run without AutoCAD. The guide recommends a project-local folder or h:\automation_temp to avoid path and permission problems. If AutoCAD raises numberp: nil, check whether variables used by barshape segments are declared in params or derive.

What it helps with

  • convert a .pcad file into an .lsp script
  • generate an .scr loader for AutoCAD
  • launch AutoCAD with the generated script
  • trace numberp: nil errors in barshape segments

Example prompts for the agent

  • Convert drawing.pcad to drawing.lsp and explain how to render it in AutoCAD.
  • Create the .scr loader for layout.pcad and show how to run it in AutoCAD.
  • AutoCAD raises numberp: nil for barshape; help me inspect params and derive.

How to install pcad-to-autocad

1Skills CLI (Vercel)

npx skills add BinLi2016/Uchannel --skill pcad-to-autocad -a claude-code

2Manually: put the files in place

~/.claude/skills/pcad-to-autocad/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pcad-to-autocad/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pcad-to-autocad

How do I install pcad-to-autocad in Claude Code?

Run npx skills add BinLi2016/Uchannel --skill pcad-to-autocad -a claude-code. The skill file is at ~/.claude/skills/pcad-to-autocad/SKILL.md.

What does pcad-to-autocad do?

It guides you through turning P-CAD code into AutoLISP, then loading it in AutoCAD for rendering with a generated .scr script.

How can I troubleshoot numberp: nil?

Check that variables used in barshape segments are literals or declared in params or derive. The guide says to move local dims definitions into derive when geometry needs them.

Similar skills

All skills for Design →

Project sponsors

Companies that keep this analytics open