arx-build
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "arx-build" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0bc5bf5caf1ce668410d41d9b241361b0dad872c7dd466635e543125bc35f8e7. Verify the upstream source and version against https://skillhub.cn/skills/user_9c6e7205/arx-build before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use MSBuild to automatically compile AutoCAD ObjectARX / GRX / ZRX projects. Triggered when the user needs to build/compile ARX/DBX/GRX/ZRX plugins, produce .arx/.grx/.zrx files, or compile ObjectARX C++ projects for specific versions of AutoCAD/GstarCAD/ZWCAD. Trigger keywords include "compile/build/arx/grx/zrx/ObjectARX/CAD plugin build".
Introduction source: third_party · user_9c6e7205 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Auto-compile AutoCAD ObjectARX / GRX / ZRX projects for any target version.
- Software, accounts and paid services
- Project must be created from the ObjectARX / GRX / ZRX project template. The template ensures standard `.vcxproj` / `.slnx` structure with the `{Platform}.Common.props` property-sheet chain. The template provides: `EnabledArxYears` — list of supported AutoCAD years `EnableReleaseConfigs` / `EnableDebugConfigs` / `EnableDynamicConfigs` / `EnableStaticConfigs` — which configuration suffixes to generate Per-year SDK props (`{Platform}.arx-{Year}.props`) imported automatically
- Testing
- Not tested
Browse files
Frontmatter
name: arx-build
description: >-
Auto-compile AutoCAD ObjectARX / GRX / ZRX projects using MSBuild.
Use when the user wants to build/compile ARX/DBX/GRX/ZRX plugins,
generate .arx/.grx/.zrx files, or compile ObjectARX C++ projects
for specific AutoCAD/GstarCAD/ZWCAD versions.
Triggers on: "编译", "compile", "build", "arx", "grx", "zrx",
"ObjectARX", "CAD 插件编译", "CAD plugin build".ARX Build
Auto-compile AutoCAD ObjectARX / GRX / ZRX projects for any target version.
Prerequisites
Project must be created from the ObjectARX / GRX / ZRX project template.
The template ensures standard .vcxproj / .slnx structure with the
{Platform}.Common.props property-sheet chain.
The template provides:
EnabledArxYears— list of supported AutoCAD yearsEnableReleaseConfigs/EnableDebugConfigs/EnableDynamicConfigs/EnableStaticConfigs— which configuration suffixes to generate- Per-year SDK props (
{Platform}.arx-{Year}.props) imported automatically
MSBuild Discovery
Do NOT assume a hardcoded path. Detect MSBuild dynamically every time:
Step A — Try vswhere (reliable, works on any VS install)
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe
Step B — Fallback: check common paths
dir /s /b "%ProgramFiles%\Microsoft Visual Studio\*\*\MSBuild\Current\Bin\MSBuild.exe" 2>nul
Step C — If both fail
Ask the user to provide the MSBuild path or verify Visual Studio is installed with the C++ workload.
Store the resolved MSBuild path in a variable and reuse it for all build commands.
ObjectARX / GRX / ZRX Props Paths
Standard install locations (check in order):
| Platform | Primary Path | Common.props |
|---|---|---|
| Autodesk ARX | C:\Program Files\Autodesk\ObjectARX Props\ |
ObjectARX.Common.props |
| HCSoft GRX | C:\Program Files\HCSoft\ObjectGRX Props\ |
ObjectGRX.Common.props |
| ZWSoft ZRX | C:\Program Files\ZWSoft\ObjectZRX Props\ |
ObjectZRX.Common.props |
If a GRX/ZRX path is missing, use C:\Program Files\Autodesk\ObjectARX Props\ as fallback (it often bundles all three).
The .vcxproj already has <Import Project="...Common.props" /> — you don't need to pass props paths to MSBuild. MSBuild resolves them from the project file.
Decision Tree
Single .vcxproj? ──YES──> Go directly to "Compile" (Step 4)
│
NO (multi-project directory)
│
▼
Steps 1→2→3→4→5→6
Instructions
Step 1 — Discover Projects (multi-project only)
When the user gives a directory, scan for .vcxproj files. For each, extract:
- Configuration names from
<ProjectConfiguration Include="..."> - PostBuild copy targets (search for
<Copy SourceFiles="$(TargetPath)" DestinationFolder=) - ConfigurationType if explicitly set
Present a discovery table, then proceed to Step 2.
Step 2 — Resolve Build Intent
The user specifies what to build. Every directive maps to a combination of:
| Layer | Meaning | Examples |
|---|---|---|
| Project | Which vcxproj | ETTransformer, ETTransformerD, all, arx-only |
| Suffix | Output type | d=Debug DLL, B=Release DLL, S=Static Lib |
| Year | CAD version | 2026, 2027, 2014-2027, latest |
Shortcuts (Chinese + English):
| 用户说 / User says | 展开为 / Expands to |
|---|---|
编译所有静态库 / build all static |
All projects, only S suffix |
编译全部 Release DLL / build all release DLL |
All projects, only B suffix |
编译 2026 全部 / build 2026 all |
All projects, all suffixes, year=2026 |
编译 ARX 2026+2027 / build ARX 2026+2027 |
ARX projects only, years 2026 & 2027 |
编译 XX 最新版 / build XX latest |
That project, latest year, B suffix |
编译 release / build release |
All projects, no-suffix (Release) configs for all years |
Expand the intent into an explicit list of {vcxproj, config} pairs and confirm with the user before building.
Step 3 — Conflict Detection (multi-project only)
Two projects conflict when they share the same {Year}{Suffix} and their PostBuild copies to the same directory.
When conflicts exist, offer the user one of:
| Strategy | Behavior |
|---|---|
| Sequential (default) | Conflicting pairs run one after another |
| Skip PostBuild | Add /p:PostBuildEventUse=false, final selective copy |
| Overwrite OK | Parallel, last write wins (user accepts) |
For Sequential: split into batches. Conflicting configs → separate sequential batches. Non-conflicting → same parallel batch.
Step 4 — Compile
Command template:
"{MSBUILD}" "{project_path}" /p:Configuration={Config} /p:Platform=x64 /t:Build /v:minimal /m
{MSBUILD}= the path resolved from MSBuild Discovery above- Use
/v:minimalfor quieter output (use/v:normalonly for a single config) - PowerShell caveat: If the MSBuild path contains spaces, wrap in
& "..."operator:& "{MSBUILD}" "{project_path}" /p:Configuration={Config} /p:Platform=x64 /t:Build /v:minimal /m - cmd.exe caveat: Direct quoting works:
"{MSBUILD}" "{project_path}" /p:Configuration={Config} /p:Platform=x64 /t:Build /v:minimal /m - Parallel batches: fire multiple
execute_commandcalls simultaneously - Sequential batches: wait for previous to complete before starting next
Step 5 — Verify
For each built config, check:
- Exit code = 0. If non-zero, search output for
errorto identify the cause. - Output file exists at
x64\{Config}\{ProjectName}{Year}.arx(or.dll/.grx/.zrxdepending on platform). Static lib:{ProjectName}{Year}S.lib.
Step 6 — Report
Present a table grouped by project:
| Config | Type | Status | Output |
|--------|-------|--------|-------------------------------------|
| 2026B | DLL | ✅ | x64\2026B\ETTransformer2026.dll |
| 2026S | .lib | ✅ | x64\2026S\ETTransformer2026S.lib |
| 2014B | DLL | ❌ | LNK1104: LibXL library not found |
PDB warnings from third-party libs (Transformer, rxapi, etc.) are normal — note in the report but don't count as errors. If a config fails, include the error reason directly in the Status column.
Clean Up
After reporting, delete any temporary log files created during the build (e.g. msbuild_diag.log).
Reference Tables
For suffix meanings, toolset mappings, filter expressions, output conventions, and platform details → references/arx-config-guide.md.
For MSBuild fallback detection → references/msbuild-detection.md.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向 AutoCAD 插件开发者,解决 ARX/GRX/ZRX 项目编译这一明确且高频的刚需任务
- 显著提升专业开发者的日常工作效率,具有高度实用价值
Highlights
- 触发词覆盖中英文,精准匹配用户表达习惯
- 边界清晰,不易与其他 Skill 重叠
Highlights
- 文档结构完整,步骤清晰,包含端到端示例和决策树
- frontmatter 完整,排版规范
Highlights
- 工具来源明确,参数正确,覆盖主要异常场景
- 并行/串行策略合理,用户确认机制完善
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Project must be created from the ObjectARX / GRX / ZRX project template. The template ensures standard `.vcxproj` / `.slnx` structure with the `{Platform}.Common.props` property-sheet chain. The template provides: `EnabledArxYears` — list of supported AutoCAD years `EnableReleaseConfigs` / `EnableDebugConfigs` / `EnableDynamicConfigs` / `EnableStaticConfigs` — which configuration suffixes to generate Per-year SDK props (`{Platform}.arx-{Year}.props`) imported automatically
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.