Short description
๐ XRNET is an SEO-friendly AutoCAD and Civil 3D .NET Framework plugin for fast DWG xref and raster image reference management. [username]
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.

Command:
๐งฐ 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.
๐ง Target platform: AutoCAD and Civil 3D x64 using a C# .NET Framework 4.8 plugin.
Description:
๐ XRNET 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 for AutoCAD and Civil 3D production drawings.
CAD users can select one or multiple external references and run xref management actions without manually switching between several AutoCAD dialogs.
The plugin supports reload, unload, detach, path validation, path repair, layer assignment, list export, preview, and diagnostic workflows.
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 plugin 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 function: (if any)โ
- ๐ Command registration system –
Commands.csregistersXRNET,XRSPLIT,XRPREDEFINEDFOLDERS, andXRSAVELOGas 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()andXrefOperations.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(), andChangeTypeIfNeeded()attach missing references and convert Overlay or Attached xref type where supported. - ๐งน Layer automation –
LayerUtil.EnsureLayer()andXrefOperations.SetLayer()create or reuse clean layers and move references onto organized xref layers. - ๐ List file input and output –
XrefListIO.ReadFile(),XrefListIO.SaveFile(),XrefListIO.ScanFile(), andXrefListIO.MergeByName()support repeatable xref list workflows. - ๐ง Xref splitter engine –
XrefSplitterEnginevalidates, merges, scans, abbreviates, re-paths, exports, and applies xref splitter entries. - ๐ Preview builder –
PreviewBuilder.Build()andPreviewBuilder.BuildExternalDwgFile()generate CAD-style preview geometry. - ๐จ Preview display control –
XrefPreviewControldisplays geometry, labels, filled areas, grid lines, backgrounds, zoom, pan, and fit view. - ๐ Settings and diagnostics –
AppSettings,UiSettingsStore,RuntimeInfo, andAppLogstore folders, UI options, startup information, logs, and diagnostics.
Functionalities:
- ๐ Open XRNET xref manager – run a modeless control panel for AutoCAD and Civil 3D external reference management.
- ๐ Scan active DWG references – list DWG xrefs and raster images with name, type, status, units, layer, and path.
- ๐ Reload selected references – update selected references to use the latest source files.
- ๐ง Unload selected references – unload xrefs or hide raster images while preserving the reference structure.
- ๐ด Detach selected references – remove unwanted xrefs or raster references from the active drawing.
- ๐ Attach missing list entries – apply saved xref list records and attach missing DWG files.
- ๐งฉ Convert xref type – change references between Overlay and Attached where supported.
- ๐งน Set organized xref layers – move references onto clean generated xref layers for better drawing management.
- ๐ Load and save xref lists – read and write reusable TXT reference lists for repeatable CAD coordination workflows.
- ๐ค Export CSV reports – export selected xref splitter rows for review, checking, and project coordination.
- ๐ง Fix and validate paths – detect missing paths, blank paths, and path problems before they become production issues.
- ๐ Preview selected references – display selected DWG geometry before applying changes.
- ๐ข Zoom, pan, fit, grid, and UCS options – improve visual inspection with CAD-style navigation controls.
- ๐ Edit xref splitter rows – add, delete, reorder, validate, edit, and apply list entries.
- ๐ท๏ธ Generate layers and abbreviations – create organized layer values and short names for consistent xref naming.
- ๐ Manage predefined folders – store project folder shortcuts for faster reference workflows.
- ๐ Use dry-run mode – check apply actions before modifying the active drawing.
- ๐งฐ Save logs and diagnostics – export troubleshooting information and operation logs.
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.
Images, animations etc.





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