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 all layers and stop the repeated Unreconciled Layers notification workflow.
Description:
๐งน Reconcill_All_Layers is an SEO-friendly AutoCAD layer cleanup tool focused on unreconciled layers, layer notification control, and CAD production drawing maintenance.
๐ The routine loops through every layer in the active document, accesses each layer extension dictionary, and removes the ADSK_XREC_LAYER_RECONCILED xrecord when it exists.
๐ After clearing the reconciliation markers, the tool turns off AutoCAD new-layer evaluation with LAYEREVAL set to 0 and layer notification warnings with LAYERNOTIFY set to 0.
๐ This is useful for Civil 3D drawings, xref-heavy CAD files, project templates, copied DWG files, and production drawings where old unreconciled-layer warnings interrupt drafting work.
โ๏ธ The routine uses Visual LISP and ActiveX access to the current AutoCAD document and layer collection, making it fast and direct for all layers in the DWG.
Helper function: (if any)โ
๐งฉ vlax-get-acad-object retrieves the running AutoCAD application object.
๐งฉ vla-get-ActiveDocument accesses the current drawing.
๐งฉ vla-get-Layers returns the layer collection that is processed by vlax-for.
๐งฉ vla-GetExtensionDictionary checks each layer for stored extension dictionary data.
๐งฉ vla-Remove deletes the ADSK_XREC_LAYER_RECONCILED record when available.
๐งฉ setvar applies the LAYEREVAL and LAYERNOTIFY system variable changes.
Functionalities:
โ
Clears unreconciled-layer metadata from every layer in the active AutoCAD drawing.
โ
Removes the ADSK_XREC_LAYER_RECONCILED xrecord from layer extension dictionaries when present.
โ
Disables AutoCAD’s new-layer evaluation system using LAYEREVAL = 0.
โ
Disables unreconciled-layer notification warnings using LAYERNOTIFY = 0.
โ
Uses safe vl-catch-all-apply wrappers while removing layer dictionary records.
โ
Prints a command-line confirmation after the drawing has been processed.
โ
Helps clean DWG files before plotting, xref management, delivery, archiving, or CAD standards checking.
Result:
๐ The active DWG no longer stores previous unreconciled-layer baseline records on the processed layers.
๐ AutoCAD stops showing unreconciled-layer notifications for the current layer evaluation settings.
๐งน The drawing becomes cleaner for production drafting, Civil 3D plan preparation, template reuse, and xref coordination.
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="Reconcill_All_Layers">
<src:RibbonToolTip.ExpandedContent>
<StackPanel>
<TextBlock Background="AntiqueWhite" TextAlignment="Left">
<Bold>Function Syntax: Command</Bold>
<LineBreak/>
<Bold>Version: 1.0 Date:</Bold>
<LineBreak/>
<LineBreak/>
<Hyperlink>N/A</Hyperlink>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Description</Run></Bold><LineBreak/>
<Run Foreground="White">๐งน Reconcill_All_Layers is an AutoCAD and Civil 3D AutoLISP utility for clearing unreconciled-layer information from the active DWG.</Run><LineBreak/>
<Run Foreground="LimeGreen">๐ It removes stored layer reconciliation markers and disables repeated Unreconciled Layers warnings by setting LAYEREVAL and LAYERNOTIFY to 0.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Function Syntax</Run></Bold><LineBreak/>
<Run Foreground="White">๐ Main command: </Run><Bold><Run Foreground="Orange">Reconcill_All_Layers</Run></Bold><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">SEO Optimized Overview</Run></Bold><LineBreak/>
<Run Foreground="White">๐งน This AutoCAD layer cleanup tool is designed for drawings affected by unreconciled-layer warnings, old layer reconciliation baselines, and repeated CAD notification messages.</Run><LineBreak/>
<Run Foreground="White">๐ The routine scans the full layer collection in the active drawing and checks every layer extension dictionary.</Run><LineBreak/>
<Run Foreground="White">๐งฉ When the AutoCAD reconciliation xrecord </Run><Bold><Run Foreground="Orange">ADSK_XREC_LAYER_RECONCILED</Run></Bold><Run Foreground="White"> is found, it is removed from the layer dictionary.</Run><LineBreak/>
<Run Foreground="White">๐ The routine then sets </Run><Bold><Run Foreground="Orange">LAYEREVAL = 0</Run></Bold><Run Foreground="White"> and </Run><Bold><Run Foreground="Orange">LAYERNOTIFY = 0</Run></Bold><Run Foreground="White"> to stop new-layer evaluation notifications.</Run><LineBreak/>
<Run Foreground="White">๐ This is useful for Civil 3D production drawings, xref coordination files, copied project templates, archived plans, and CAD standards cleanup workflows.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Important AutoLISP and ActiveX Calls</Run></Bold><LineBreak/>
<Run Foreground="White">๐งฉ </Run><Bold><Run Foreground="Orange">vlax-get-acad-object</Run></Bold><Run Foreground="White"> retrieves the running AutoCAD application object.</Run><LineBreak/>
<Run Foreground="White">๐งฉ </Run><Bold><Run Foreground="Orange">vla-get-ActiveDocument</Run></Bold><Run Foreground="White"> accesses the current DWG.</Run><LineBreak/>
<Run Foreground="White">๐งฉ </Run><Bold><Run Foreground="Orange">vla-get-Layers</Run></Bold><Run Foreground="White"> returns the complete layer collection.</Run><LineBreak/>
<Run Foreground="White">๐งฉ </Run><Bold><Run Foreground="Orange">vla-GetExtensionDictionary</Run></Bold><Run Foreground="White"> checks each layer for stored dictionary data.</Run><LineBreak/>
<Run Foreground="White">๐งฉ </Run><Bold><Run Foreground="Orange">vla-Remove</Run></Bold><Run Foreground="White"> removes the reconciliation xrecord when it exists.</Run><LineBreak/>
<Run Foreground="White">โ๏ธ </Run><Bold><Run Foreground="Orange">setvar</Run></Bold><Run Foreground="White"> applies LAYEREVAL and LAYERNOTIFY changes.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Functionalities</Run></Bold><LineBreak/>
<Run Foreground="White">โ
Clears unreconciled-layer metadata from all layers in the active drawing.</Run><LineBreak/>
<Run Foreground="White">โ
Disables AutoCAD new-layer evaluation warnings.</Run><LineBreak/>
<Run Foreground="White">โ
Helps remove persistent Unreconciled Layers messages in DWG files.</Run><LineBreak/>
<Run Foreground="White">โ
Supports Civil 3D and AutoCAD layer management cleanup workflows.</Run><LineBreak/>
<Run Foreground="White">โ
Provides a quick command-line confirmation after processing.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Workflow Summary</Run></Bold><LineBreak/>
<Run Foreground="White">1๏ธโฃ Load the LISP file with APPLOAD or your startup suite.</Run><LineBreak/>
<Run Foreground="White">2๏ธโฃ Run </Run><Bold><Run Foreground="Orange">Reconcill_All_Layers</Run></Bold><Run Foreground="White"> in the target drawing.</Run><LineBreak/>
<Run Foreground="White">3๏ธโฃ The routine loops through all layers and removes reconciliation xrecords where possible.</Run><LineBreak/>
<Run Foreground="White">4๏ธโฃ LAYEREVAL and LAYERNOTIFY are set to 0.</Run><LineBreak/>
<Run Foreground="White">5๏ธโฃ AutoCAD reports that unreconciled-layer information was cleared.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Result</Run></Bold><LineBreak/>
<Run Foreground="LimeGreen">๐ The drawing is cleaned from previous unreconciled-layer baseline records and AutoCAD layer notification warnings are suppressed.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DarkRed">Important Notes</Run></Bold><LineBreak/>
<Run Foreground="White">โ ๏ธ This routine intentionally changes layer notification behavior by setting LAYEREVAL and LAYERNOTIFY to 0.</Run><LineBreak/>
<Run Foreground="White">โ ๏ธ Use it when the project goal is to reset or suppress unreconciled-layer tracking, not when strict layer reconciliation auditing is required.</Run><LineBreak/>
<Run Foreground="White">๐ The command processes only the active DWG and does not batch-process external drawings.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="Yellow">Tags</Run></Bold><LineBreak/>
<Run Foreground="Yellow">๐ท๏ธ AutoCAD, ๐ท๏ธ AutoLISP, ๐ท๏ธ Civil 3D, ๐ท๏ธ Layer Manager, ๐ท๏ธ Unreconciled Layers, ๐ท๏ธ LAYEREVAL, ๐ท๏ธ LAYERNOTIFY, ๐ท๏ธ CAD Standards, ๐ท๏ธ DWG Cleanup, ๐ท๏ธ Layer Reconciliation</Run><LineBreak/>
</TextBlock>
<Grid>
<Image Source="PNG" Stretch="Uniform"/>
</Grid>
<Grid>
<MediaElement
Source="GIF"
Stretch="Uniform"
Visibility="Visible"/>
</Grid>
</StackPanel>
</src:RibbonToolTip.ExpandedContent>
</src:RibbonToolTip>
</ResourceDictionary>
