Short description
❄️ LayerFilterFreezeThaw is an AutoCAD DCL layer filter manager for applying Freeze, Thaw, On, Off, Lock, and Unlock actions to predefined layer sets.
🚆 It includes a dedicated Kable filter with 30 exact railway or utility layer names plus quick commands for normal and inverted actions.
Command:
🚀 Main dialog command: LFM
⚡ Quick Kable commands: FKABLE, TKABLE, OKABLE, XFABLE, FKABLEI, TKABLEI
🧪 Verification command: VERIFYKABLE
🧰 Helper command: LFM-Kable
Description:
❄️ LayerFilterFreezeThaw is an SEO-friendly AutoCAD layer filter action tool for applying layer state changes to predefined layer groups.
🧱 The DCL dialog presents a filter list and radio-button action set, allowing the user to freeze, thaw, turn on, turn off, lock, or unlock matching layers.
🚆 The Kable filter contains 30 exact layer names for Hartingstecker, 30 kV K1 and K2, OSE, Ortsnetz, and 750 V layer groups, making the routine highly targeted for repeated project standards.
🔁 The invert option applies the chosen action to all layers except the selected filter, supporting quick isolation workflows.
📌 This is useful for Civil 3D production drawings, railway electrical layers, project layer visibility control, quick cable-layer isolation, and CAD layer cleanup.
Helper function: (if any)
🧩 _lf:DclText builds the Layer Filters dialog as embedded DCL text.
🧩 _lf:GetAllFilterNames returns the available standard filter names.
🧩 _lf:GetLayersByFilter resolves filter names to actual layer names or hardcoded project layer sets.
🧩 _lf:SetLayerState applies Freeze, Thaw, On, Off, Lock, or Unlock to one layer object.
🧩 _lf:ApplyToLayerNames processes the layer list and reports changed versus skipped layers.
🧩 LFM-Kable provides command-line shortcut execution for the Kable group.
🧩 VERIFYKABLE checks whether all 30 Kable layers exist in the current drawing.
Functionalities:
✅ Select a predefined layer filter from a DCL popup.
✅ Apply Freeze, Thaw, On, Off, Lock, or Unlock.
✅ Invert the selected filter to process all layers except the chosen group.
✅ Use quick commands for Kable freeze, thaw, on, off, and inverted variants.
✅ Verify whether the expected Kable layer list exists in the drawing.
✅ Print action-by-action feedback and final changed/skipped counts.
✅ Regenerate the drawing after successful layer state changes.
Result:
🎯 The result is a controlled layer-state update for a chosen filter group or its inverse.
🟢 The tool saves time when repeatedly isolating, hiding, thawing, or locking known project layer groups.
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="LayerFilterFreezeThaw">
<src:RibbonToolTip.ExpandedContent>
<StackPanel>
<TextBlock Background="AntiqueWhite" TextAlignment="Left">
<Bold>Function Syntax: LFM / FKABLE / TKABLE / OKABLE / XFABLE / FKABLEI / TKABLEI / LFM-Kable / VERIFYKABLE</Bold>
<LineBreak/>
<Bold>Version: 1.1 Date: 20.06.2026 6:38:54PM</Bold>
<LineBreak/>
<Hyperlink>N/A</Hyperlink>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Description</Run></Bold><LineBreak/>
<Run Foreground="White">❄️ LayerFilterFreezeThaw is an AutoCAD DCL layer filter manager for applying Freeze, Thaw, On, Off, Lock, and Unlock actions to predefined layer sets.</Run><LineBreak/>
<Run Foreground="White">🚆 It includes a dedicated Kable filter with 30 exact railway or utility layer names plus quick commands for normal and inverted actions.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Function Syntax</Run></Bold><LineBreak/>
<Run Foreground="White">🚀 Main dialog command: </Run><Bold><Run Foreground="Orange">LFM</Run></Bold><LineBreak/>
<Run Foreground="White">⚡ Quick Kable commands: </Run><Bold><Run Foreground="Orange">FKABLE, TKABLE, OKABLE, XFABLE, FKABLEI, TKABLEI</Run></Bold><LineBreak/>
<Run Foreground="White">🧪 Verification command: </Run><Bold><Run Foreground="Orange">VERIFYKABLE</Run></Bold><LineBreak/>
<Run Foreground="White">🧰 Helper command: </Run><Bold><Run Foreground="Orange">LFM-Kable</Run></Bold><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">SEO Optimized Overview</Run></Bold><LineBreak/>
<Run Foreground="White">❄️ LayerFilterFreezeThaw is an SEO-friendly AutoCAD layer filter action tool for applying layer state changes to predefined layer groups.</Run><LineBreak/>
<Run Foreground="White">🧱 The DCL dialog presents a filter list and radio-button action set, allowing the user to freeze, thaw, turn on, turn off, lock, or unlock matching layers.</Run><LineBreak/>
<Run Foreground="White">🚆 The Kable filter contains 30 exact layer names for Hartingstecker, 30 kV K1 and K2, OSE, Ortsnetz, and 750 V layer groups, making the routine highly targeted for repeated project standards.</Run><LineBreak/>
<Run Foreground="White">🔁 The invert option applies the chosen action to all layers except the selected filter, supporting quick isolation workflows.</Run><LineBreak/>
<Run Foreground="White">📌 This is useful for Civil 3D production drawings, railway electrical layers, project layer visibility control, quick cable-layer isolation, and CAD layer cleanup.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Primary Workflow</Run></Bold><LineBreak/>
<Run Foreground="White">1️⃣ Load the AutoLISP file in AutoCAD or Civil 3D with APPLOAD or your menu loader.</Run><LineBreak/>
<Run Foreground="White">2️⃣ Run the command shown above from the AutoCAD command line.</Run><LineBreak/>
<Run Foreground="White">3️⃣ Follow the dialog, selection prompts, or file prompts used by LayerFilterFreezeThaw.</Run><LineBreak/>
<Run Foreground="White">4️⃣ Review the command-line report and drawing result before continuing production work.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Functionalities</Run></Bold><LineBreak/>
<Run Foreground="White">✅ Select a predefined layer filter from a DCL popup.</Run><LineBreak/>
<Run Foreground="White">✅ Apply Freeze, Thaw, On, Off, Lock, or Unlock.</Run><LineBreak/>
<Run Foreground="White">✅ Invert the selected filter to process all layers except the chosen group.</Run><LineBreak/>
<Run Foreground="White">✅ Use quick commands for Kable freeze, thaw, on, off, and inverted variants.</Run><LineBreak/>
<Run Foreground="White">✅ Verify whether the expected Kable layer list exists in the drawing.</Run><LineBreak/>
<Run Foreground="White">✅ Print action-by-action feedback and final changed/skipped counts.</Run><LineBreak/>
<Run Foreground="White">✅ Regenerate the drawing after successful layer state changes.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Important Functions and AutoCAD API</Run></Bold><LineBreak/>
<Run Foreground="White">🧩 _lf:DclText builds the Layer Filters dialog as embedded DCL text.</Run><LineBreak/>
<Run Foreground="White">🧩 _lf:GetAllFilterNames returns the available standard filter names.</Run><LineBreak/>
<Run Foreground="White">🧩 _lf:GetLayersByFilter resolves filter names to actual layer names or hardcoded project layer sets.</Run><LineBreak/>
<Run Foreground="White">🧩 _lf:SetLayerState applies Freeze, Thaw, On, Off, Lock, or Unlock to one layer object.</Run><LineBreak/>
<Run Foreground="White">🧩 _lf:ApplyToLayerNames processes the layer list and reports changed versus skipped layers.</Run><LineBreak/>
<Run Foreground="White">🧩 LFM-Kable provides command-line shortcut execution for the Kable group.</Run><LineBreak/>
<Run Foreground="White">🧩 VERIFYKABLE checks whether all 30 Kable layers exist in the current drawing.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Result</Run></Bold><LineBreak/>
<Run Foreground="White">🎯 The result is a controlled layer-state update for a chosen filter group or its inverse.</Run><LineBreak/>
<Run Foreground="White">🟢 The tool saves time when repeatedly isolating, hiding, thawing, or locking known project layer groups.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DarkOrange">Operational Notes and Limitations</Run></Bold><LineBreak/>
<Run Foreground="White">⚠️ The Kable filter is hardcoded to exact layer names; missing layers are skipped and can be checked with VERIFYKABLE.</Run><LineBreak/>
<Run Foreground="White">⚠️ The command changes layer state properties in the active drawing.</Run><LineBreak/>
<Run Foreground="White">🧠 Use the inverted mode carefully because it affects all layers outside the selected filter.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="Yellow">Tags</Run></Bold><LineBreak/>
<Run Foreground="Yellow">🏷️ AutoCAD, 🏷️ AutoLISP, 🏷️ Civil 3D, 🏷️ Layer Filters, 🏷️ Freeze Thaw, 🏷️ Kable Layers, 🏷️ Railway CAD, 🏷️ DCL Dialog, 🏷️ Layer Visibility</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>
