@Dan_acaddoc

Short description

🧩 acaddoc is an AutoCAD and Civil 3D master startup loader for a large custom CAD tool library.
📦 The current configuration attempts to load 426 program files consisting of 413 LSP or FAS files 9 VLX files and 4 DLL files.
🧪 The loader records successful loads skipped dependencies and failures in a detailed load report.

Command:

🚀 Startup behavior: the loader runs when acaddoc.lsp is loaded by AutoCAD.
⚙️ Main loading methods: load for LSP FAS and VLX files plus NETLOAD for DLL files.
📄 Report file: load_report.txt in the configured Lisp_menu folder.

Description:

🧩 acaddoc centralizes the startup loading of hundreds of AutoCAD and Civil 3D customization tools.
🛡️ Protected loader functions wrap each load attempt so common failures can be recorded without immediately losing the complete startup report.
🧠 Diagnostic logic classifies common problems such as malformed LISP syntax missing dependencies missing files argument errors DCL problems and command context errors.
📌 The loader also blocks reentrant execution so a second copy cannot start while the first loading pass is active.
🚫 Several known problematic folders are intentionally excluded because their reactors syntax problems or nested loads can interrupt the master loading sequence.

Helper function: (if any)​

🧩 _AcldDiag converts common load error messages into practical diagnostic hints.
🧩 *_ACLD_FAIL* records failed files and error details.
🧩 _SafeLsp safely loads LSP and FAS files and records OK SKIP or FAIL status.
🧩 _SafeVlx safely loads VLX applications while temporarily controlling FILEDIA.
🧩 _SafeCmd loads .NET assemblies with the configured AutoCAD command such as NETLOAD.
🧩 The final summary writes total attempted successful skipped and failed counts to the report.

Functionalities:

✅ 📦 Loads a predefined library of 426 AutoCAD and Civil 3D tools.
✅ 🧩 Processes LSP FAS VLX and DLL program formats.
✅ 🛡️ Uses protected loading with Visual LISP error trapping.
✅ 🔁 Detects files already loaded by another dependency and records them as skipped.
✅ 🧪 Generates diagnostic hints for common startup loading problems.
✅ 📄 Creates a detailed load_report.txt file for troubleshooting.
✅ 🚫 Prevents reentrant execution of the master loader.
✅ 📊 Displays a final AutoCAD summary with OK SKIP and FAIL totals.
✅ ⚠️ Shows the first failed tools in an alert when errors occur.
✅ 🧹 Excludes known problematic folders that can crash the loading sequence.

Result:

🎯 The result is a centralized and traceable AutoCAD startup environment for a large custom CAD automation library.
📈 Users can load hundreds of productivity tools from one master file while retaining a clear record of which tools loaded successfully and which require maintenance.
🧰 This supports AutoCAD and Civil 3D production environments with extensive custom LISP VLX and .NET tool collections.

Images, animations etc.

Pixel

XAML code:

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:src="clr-namespace:Autodesk.Windows;assembly=AdWindows">
    
<src:RibbonToolTip x:Key="@Dan_acaddoc">
<src:RibbonToolTip.ExpandedContent>
<StackPanel>
<TextBlock Background="AntiqueWhite" TextAlignment="Left">
<Bold>Function Syntax: @Dan_acaddoc</Bold>
<LineBreak/>
<Bold>Version: 1.0 Date: 20.06.2026 6:38:56PM</Bold>
<LineBreak/>
<Hyperlink>N/A</Hyperlink>
<LineBreak/>



<Bold><Run Foreground="DodgerBlue">Description</Run></Bold><LineBreak/>
<Run Foreground="White">🧩 acaddoc is an AutoCAD and Civil 3D master startup loader designed to load a large custom CAD automation library from one centralized file.</Run><LineBreak/>
<Run Foreground="LimeGreen">📌 The current configuration attempts to load </Run><Bold><Run Foreground="Orange">426 program files</Run></Bold><Run Foreground="LimeGreen"> including LSP FAS VLX and .NET DLL tools.</Run><LineBreak/>
<Run Foreground="White">🧪 Every load attempt is tracked so successful loads skipped dependencies and failures can be reviewed in a detailed report.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Function Syntax</Run></Bold><LineBreak/>
<Run Foreground="White">🚀 Startup action: </Run><Bold><Run Foreground="Orange">Load acaddoc.lsp</Run></Bold><LineBreak/>
<Run Foreground="White">⚙️ DLL loading command: </Run><Bold><Run Foreground="Orange">NETLOAD</Run></Bold><LineBreak/>
<Run Foreground="White">📄 Diagnostic output: </Run><Bold><Run Foreground="Orange">load_report.txt</Run></Bold><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">SEO Optimized Overview</Run></Bold><LineBreak/>
<Run Foreground="White">📦 The master loader processes </Run><Bold><Run Foreground="Orange">413 LSP or FAS files</Run></Bold><Run Foreground="White"> plus </Run><Bold><Run Foreground="Orange">9 VLX files</Run></Bold><Run Foreground="White"> plus </Run><Bold><Run Foreground="Orange">4 DLL files</Run></Bold><Run Foreground="White">.</Run><LineBreak/>
<Run Foreground="White">🛡️ Protected loader functions use Visual LISP error trapping so normal loading problems can be captured and recorded.</Run><LineBreak/>
<Run Foreground="White">🧠 Diagnostic logic identifies common problems such as syntax errors missing dependencies missing files argument errors DCL problems and command context errors.</Run><LineBreak/>
<Run Foreground="White">🔁 A reentrant guard blocks another copy of the master loader while the current loading pass is active.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Primary Workflow</Run></Bold><LineBreak/>
<Run Foreground="White">1️⃣ AutoCAD loads </Run><Bold><Run Foreground="Orange">acaddoc.lsp</Run></Bold><Run Foreground="White"> during the configured startup workflow.</Run><LineBreak/>
<Run Foreground="White">2️⃣ The routine creates a new </Run><Bold><Run Foreground="Orange">load_report.txt</Run></Bold><Run Foreground="White"> file and initializes OK SKIP and FAIL counters.</Run><LineBreak/>
<Run Foreground="White">3️⃣ LSP and FAS files are processed through the protected </Run><Bold><Run Foreground="Orange">_SafeLsp</Run></Bold><Run Foreground="White"> loader.</Run><LineBreak/>
<Run Foreground="White">4️⃣ VLX applications are processed through </Run><Bold><Run Foreground="Orange">_SafeVlx</Run></Bold><Run Foreground="White"> with FILEDIA restoration.</Run><LineBreak/>
<Run Foreground="White">5️⃣ DLL files are processed through </Run><Bold><Run Foreground="Orange">_SafeCmd</Run></Bold><Run Foreground="White"> using NETLOAD.</Run><LineBreak/>
<Run Foreground="White">6️⃣ A final summary records total successful skipped and failed loads.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Functionalities</Run></Bold><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Centralized master loading</Run></Bold><Run Foreground="White"> - starts hundreds of CAD customization tools from one file.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Multiple program formats</Run></Bold><Run Foreground="White"> - supports LSP FAS VLX and DLL loading.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Protected load execution</Run></Bold><Run Foreground="White"> - traps many normal file loading errors.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Dependency skip detection</Run></Bold><Run Foreground="White"> - records tools already loaded by another dependency.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Diagnostic hints</Run></Bold><Run Foreground="White"> - translates common failure messages into practical troubleshooting guidance.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Detailed load report</Run></Bold><Run Foreground="White"> - records loading status and failed file paths.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Reentrant protection</Run></Bold><Run Foreground="White"> - prevents a second simultaneous master load.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Failure alert</Run></Bold><Run Foreground="White"> - shows failed tools and directs the user to the report.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Important Commands and Aspects</Run></Bold><LineBreak/>
<Run Foreground="White">🧩 </Run><Bold><Run Foreground="Orange">load</Run></Bold><Run Foreground="White"> is used for LSP FAS and VLX applications.</Run><LineBreak/>
<Run Foreground="White">🧩 </Run><Bold><Run Foreground="Orange">NETLOAD</Run></Bold><Run Foreground="White"> is used for configured .NET DLL applications.</Run><LineBreak/>
<Run Foreground="White">🧩 </Run><Bold><Run Foreground="Orange">load_report.txt</Run></Bold><Run Foreground="White"> is the main startup diagnostic report.</Run><LineBreak/>
<Run Foreground="White">🧩 </Run><Bold><Run Foreground="Orange">_AcldDiag</Run></Bold><Run Foreground="White"> converts recognized failure messages into troubleshooting hints.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DarkRed">Important Notes</Run></Bold><LineBreak/>
<Run Foreground="White">⚠️ </Run><Bold><Run Foreground="DarkRed">The loader uses hard coded program paths</Run></Bold><Run Foreground="White"> and those paths must remain valid.</Run><LineBreak/>
<Run Foreground="White">⚠️ </Run><Bold><Run Foreground="DarkRed">426 files are attempted</Run></Bold><Run Foreground="White"> by the current master loader configuration.</Run><LineBreak/>
<Run Foreground="White">⚠️ A missing SUMMARY section in the report can indicate that execution stopped before normal completion.</Run><LineBreak/>
<Run Foreground="White">⚠️ Known problematic folders are intentionally excluded because they can interrupt the startup loading sequence.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="Yellow">Tags</Run></Bold><LineBreak/>
<Run Foreground="Yellow">🏷️ AutoCAD, 🏷️ Civil 3D, 🏷️ AutoLISP, 🏷️ Visual LISP, 🏷️ ACADDOC, 🏷️ Master loader, 🏷️ LISP loader, 🏷️ FAS loader, 🏷️ VLX loader, 🏷️ DLL loader, 🏷️ NETLOAD, 🏷️ AutoCAD startup, 🏷️ Load report, 🏷️ Error diagnostics, 🏷️ CAD automation, 🏷️ CAD productivity</Run><LineBreak/>







</TextBlock>
</StackPanel>
</src:RibbonToolTip.ExpandedContent>
</src:RibbonToolTip>
</ResourceDictionary>

Additional info:

Share this page:

Page Tag: 🏷️ Civil 3D

  • @Dan_acaddoc

    Short description🧩 acaddoc is an AutoCAD and Civil 3D master startup loader for a large custom CAD tool library. 📦 The current configuration attempts to load 426 program files consisting of 413 LSP or FAS files 9 VLX files and 4 DLL files. 🧪 The loader records successful loads skipped dependencies and failures in a…

  • VportsPoly2Rectang

    Short description🪟 VportsPoly2Rectang is an AutoCAD and Civil 3D AutoLISP viewport shape conversion manager. 🔄 It detects rectangular and polygonal clipped viewports across layouts, supports filters and selection tools, and converts viewport clipping boundaries with undo-aware batch controls. Command:🚀 Main command: VportsPoly2Rectang ⚡ Alias command: VportShapeConv 🧰 Opens an enhanced DCL manager for detecting, filtering,…

  • ViewportMatchOrientation

    Short description🧭 ViewportMatchOrientation is an AutoCAD and Civil 3D AutoLISP utility for matching paper space viewport orientation. 🔄 It copies the TwistAngle from one viewport to another so layouts can share the same rotated view direction. Command:🚀 Main command: ViewportMatchOrientation 🧭 Select a source viewport, then select a target viewport, and the target receives the…

  • PlotExtra

    Short description🖨️ PlotExtra is an AutoCAD and Civil 3D .NET plotting interface that recreates and extends the plot dialog workflow with a styled WinForms UI. 📐 It includes layout preview, page setup controls, PDF project management, logging, and reusable C3D themed controls. Command:🚀 Main command: PLOTEXTRA018 🧾 Log command: PLOTEXTRALOG 🧰 Opens a Civil 3D…

  • PageSetupAllLayouts

    Short description🖨️ PageSetupAllLayouts is an AutoCAD and Civil 3D AutoLISP plotting utility for batch-updating plotter configuration names across all paper-space layouts. 📄 The command loops through every layout except Model and changes each layout’s ConfigName based on the current configured plot device. Command:🚀 Main command: cps 🧰 Load the LSP file with APPLOAD, then run…

  • Delete2Layouts

    Short description🗑️ Delete2Layouts is an AutoCAD AutoLISP utility for deleting all instances of one selected block or xref from chosen paper-space layouts. 🗂️ It provides a temporary DCL dialog with layout filtering, Select All/None controls, and a clear delete workflow for layout-based cleanup. Command:🚀 Main command: Delete2Layouts 🔁 Alias command: _Delete2Layouts 🧰 Pick one block…

  • CopyPaper2Model

    Short description🔁 CopyPaper2Model is an AutoCAD and Civil 3D AutoLISP utility for transferring objects between Paper Space and Model Space through layout viewports. 📐 It uses viewport context, CHSPACE, VLA copy logic, layout filtering, and temporary DCL dialogs to preserve scale and placement during production drawing cleanup. Command:🚀 Main auto command: CPMS 📄 Paper Space…

  • ChangeVPLayerColor

    Short description🎨 ChangeVPLayerColor is an AutoCAD and Civil 3D AutoLISP VP Manager for applying viewport layer color overrides across selected layout viewports. 🧰 It provides filtered layer selection, Bestand/Neu color presets, paginated preset configuration dialogs, target-layout selection, and VPLAYER-based VP color assignment. Command:🚀 Main command: ChangeVPLayerColor 🎨 Main dialog: VP Manager v19.1 / VP Layer…

  • SelectCreateLayerFilter

    Short description🔎 SelectCreateLayerFilter is an AutoCAD and Civil 3D AutoLISP tool that builds a layer Properties Filter from the layers found in a selected set of drawing objects. 🧰 It adds a practical DCL interface for naming the filter, choosing the parent filter, filtering layer names with wildcards, selecting layers, copying the expression, and applying…

  • Reconcill_All_Layers

    Short description🧹 Reconcill_All_Layers is an AutoCAD and Civil 3D AutoLISP utility for clearing unreconciled-layer data from the active DWG. 🔕 It removes AutoCAD layer reconciliation markers and disables new-layer evaluation warnings by setting LAYEREVAL and LAYERNOTIFY to 0. Command:🚀 Main command: Reconcill_All_Layers 🧰 Run the command in the active drawing to clear unreconciled-layer information for…