@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: 🏷️ Master loader

  • @Dan_acaddoc

    β€”

    by

    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…