XrNet

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.

Image 000 22

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 systemCommands.cs registers XRNET, XRSPLIT, XRPREDEFINEDFOLDERS, and XRSAVELOG as AutoCAD commands.
  • ๐Ÿ” Xref scanning engineXrefRepository.CollectAll() scans the active drawing database and collects DWG xrefs, raster images, status, units, layer, type, and path data.
  • ๐Ÿ”„ Reload and unload logicXrefOperations.Reload() and XrefOperations.Unload() refresh or unload selected references.
  • ๐Ÿ”ด Detach logicXrefOperations.Detach() removes selected DWG xrefs or raster image references from the drawing.
  • ๐Ÿ“Œ Apply list workflowXrefOperations.ApplyEntries() applies prepared xref records to the current DWG and restores important AutoCAD system variables.
  • ๐Ÿงฉ Attach and type conversionApplyDwgEntry(), AttachXrefAtOrigin(), and ChangeTypeIfNeeded() attach missing references and convert Overlay or Attached xref type where supported.
  • ๐Ÿงน Layer automationLayerUtil.EnsureLayer() and XrefOperations.SetLayer() create or reuse clean layers and move references onto organized xref layers.
  • ๐Ÿ“Š List file input and outputXrefListIO.ReadFile(), XrefListIO.SaveFile(), XrefListIO.ScanFile(), and XrefListIO.MergeByName() support repeatable xref list workflows.
  • ๐Ÿง  Xref splitter engineXrefSplitterEngine validates, merges, scans, abbreviates, re-paths, exports, and applies xref splitter entries.
  • ๐Ÿ“ Preview builderPreviewBuilder.Build() and PreviewBuilder.BuildExternalDwgFile() generate CAD-style preview geometry.
  • ๐ŸŽจ Preview display controlXrefPreviewControl displays geometry, labels, filled areas, grid lines, backgrounds, zoom, pan, and fit view.
  • ๐Ÿ” Settings and diagnosticsAppSettings, UiSettingsStore, RuntimeInfo, and AppLog store 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.

Image 000 22
Image 001 11
Image 002 7
Image 003 5
Image 004 2
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="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>

Additional info:

Share this page:

Tags: ๐Ÿท๏ธ Autocad Lisps, ๐Ÿท๏ธ Xref_menu