Function Syntax: XRNET / XRSPLIT / XRPREDEFINEDFOLDERS / XRSAVELOG Version: 0 Date: 18.09.2025 Version: 1 Date: 14.01.2026 Version: 2 Date: 08.04.2026 Version: 3 Date: 07.07.2026 8:55:26AM N/A SEO Description ๐Ÿš€ XRNET is an AutoCAD and Civil 3D .NET Framework plugin for fast DWG xref and raster image reference management. It helps CAD users inspect, reload, unload, detach, validate, preview, export, repair, and apply external references from the active drawing. The main benefit is faster drawing cleanup, better xref control, fewer missing reference issues, and improved AutoCAD Civil 3D productivity. Main Command and Loading Method ๐Ÿงฐ Load the plugin with NETLOAD by selecting XRNET.dll. Run XRNET to open the main modeless xref management window inside AutoCAD or Civil 3D. Run XRSPLIT to open the native xref splitter interface. Run XRPREDEFINEDFOLDERS to edit saved project folder shortcuts. Run XRSAVELOG to export the operation log. The target platform is AutoCAD and Civil 3D x64 using a C# .NET Framework 4.8 plugin. Detailed Description ๐Ÿ“˜ This plugin scans the active DWG and collects detected DWG xrefs and raster image references. ๐Ÿ” The program displays the reference name, xref type, load status, drawing units, layer, and source file path in a practical grid. ๐Ÿง  The user can select one or multiple references and run xref management actions without manually using several separate AutoCAD dialogs. ๐Ÿ“Š The tool supports reload, unload, detach, path validation, path repair, layer assignment, list export, preview, and diagnostics. ๐Ÿ“Œ The XRSPLIT workflow loads xref list TXT files, imports current drawing references, validates paths, scans folders, merges lists, exports rows, generates layers, creates abbreviations, and applies selected entries back to the active DWG. Important limitation: This code does not edit Civil 3D ProfileView, SectionView, Alignment, bands, labels, or Civil 3D styles. Its real purpose is AutoCAD and Civil 3D xref management, raster reference management, DWG dependency cleanup, preview, export, diagnostics, and file path validation. Helper Logic ๐Ÿš€ Command registration system - Commands.cs registers XRNET, XRSPLIT, XRPREDEFINEDFOLDERS, and XRSAVELOG as AutoCAD commands. ๐Ÿ” Xref scanning engine - XrefRepository.CollectAll() scans the active drawing database and collects DWG xrefs, raster images, status, units, layer, type, and path data. ๐Ÿ”„ Reload and unload logic - XrefOperations.Reload() and XrefOperations.Unload() refresh or unload selected references. ๐Ÿ”ด Detach logic - XrefOperations.Detach() removes selected DWG xrefs or raster image references from the drawing. ๐Ÿ“Œ Apply list workflow - XrefOperations.ApplyEntries() applies prepared xref records to the current DWG and restores important AutoCAD system variables. ๐Ÿงฉ Attach and type conversion - ApplyDwgEntry(), AttachXrefAtOrigin(), and ChangeTypeIfNeeded() attach missing references and convert Overlay or Attached xref type where supported. ๐Ÿงน Layer automation - LayerUtil.EnsureLayer() and XrefOperations.SetLayer() create or reuse clean layers and move references onto organized xref layers. ๐Ÿ“Š List file input and output - XrefListIO.ReadFile(), XrefListIO.SaveFile(), XrefListIO.ScanFile(), and XrefListIO.MergeByName() support repeatable xref list workflows. ๐Ÿง  Xref splitter engine - XrefSplitterEngine validates, merges, scans, abbreviates, re-paths, exports, and applies xref splitter entries. ๐Ÿ“ Preview builder - PreviewBuilder.Build() and PreviewBuilder.BuildExternalDwgFile() generate CAD-style preview geometry. ๐ŸŽจ Preview display control - XrefPreviewControl displays geometry, labels, filled areas, grid lines, backgrounds, zoom, pan, and fit view. ๐Ÿ” Settings and diagnostics - AppSettings, UiSettingsStore, RuntimeInfo, and AppLog store folders, UI options, startup information, logs, and diagnostics. Functionalities ๐Ÿš€ Open XRNET xref manager - runs a modeless control panel for AutoCAD and Civil 3D external reference management. ๐Ÿ” Scan active DWG references - lists DWG xrefs and raster images with name, type, status, units, layer, and path. ๐Ÿ”„ Reload selected references - updates selected references to use the latest source files. ๐ŸŸง Unload selected references - unloads xrefs or hides raster images while preserving reference structure. ๐Ÿ”ด Detach selected references - removes unwanted xrefs or raster references from the active drawing. ๐Ÿ“Œ Attach missing list entries - applies saved xref list records and attaches missing DWG files. ๐Ÿงฉ Convert xref type - changes references between Overlay and Attached where supported. ๐Ÿงน Set organized xref layers - moves references onto clean generated xref layers. ๐Ÿ“Š Load and save xref lists - reads and writes reusable TXT reference lists. ๐Ÿ“ค Export CSV reports - exports selected xref splitter rows for review and coordination. ๐Ÿง  Fix and validate paths - detects missing paths, blank paths, and path problems. ๐Ÿ“ Preview selected references - displays selected DWG geometry before applying changes. ๐Ÿ”ข Zoom, pan, fit, grid, and UCS options - improves visual inspection with CAD-style controls. ๐Ÿ“ Edit xref splitter rows - adds, deletes, reorders, validates, edits, and applies list entries. ๐Ÿท๏ธ Generate layers and abbreviations - creates organized layer values and short names. ๐Ÿ“˜ Manage predefined folders - stores project folder shortcuts for faster workflows. ๐Ÿ”’ Use dry-run mode - checks apply actions before modifying the active drawing. ๐Ÿงฐ Save logs and diagnostics - exports troubleshooting information and operation logs. Final Result โœ… The final result is a productivity-focused AutoCAD and Civil 3D xref management plugin that centralizes DWG xrefs, raster images, paths, status, preview, export, diagnostics, and cleanup actions. It reduces repetitive manual work, improves external reference quality control, detects missing paths, speeds up project setup, improves drawing organization, and supports cleaner Civil 3D and AutoCAD production drawings.