
ChangeLayer
- ChangeLayer — DCL layer picker with wildcard filter and “pick from drawing” option
- Lists only visible layers (not off, not frozen) and supports * / ? pattern matching
- Remembers the last filter via environment variable and can auto-filter based on an object’s layer

ChangeLayerToSelected
- ChangeLayerToCurrent — DCL filtered layer chooser + optional “pick layer from drawing”, then move selected objects to that layer
- Filters layer names (non-Xref only) using a substring-style match and remembers last filter + last chosen layer
- After choosing a layer, prompts for a multi-selection of objects and runs CHPROP to change their layer

DeleteLayerByFilter
- DeleteLayerByFilter — embedded DCL layer deleter with filter + multi-select, using -LAYDEL scripted sequence with VLA fallback
- v10 change: fixes the -LAYDEL command sequence to mirror manual steps: ._-LAYDEL → _N → <name> → "" → _Y (plus localized fallback)
- Excludes Xref layers and reserved layers (0, DEFPOINTS) and reports deleted vs failed
DuplicateToNewLayer
- DUPLICATELAYER / DUPLICATELAYERCURRENT — duplicate a layer’s properties into a new layer name via DCL, then set it current (optionally move the selected object).
- Copies common layer properties (Color, Linetype, Lineweight, Description) and PlotStyleName when available (STB-aware).
- DCL dialog asks for the new layer name and includes an “assign selected object” checkbox (used by DUPLICATELAYER).

DuplicateToSelectedLayer
- DuplicateToSelectedLayer — duplicate selected entities onto a chosen target layer via a simple DCL layer picker, then bring the copies to front and preselect them
- Remembers the last chosen layer and defaults the dialog selection accordingly
- Uses COPY with zero displacement to create duplicates in place, then CHPROP + DRAWORDER on the new entities

FreezeLayersInMS
- FLMS3 — Model Space layer control dialog: filter + multi-select + batch actions (Freeze/Off/Lock/Plot, etc.) with optional Xref scoping
- Fixes: filters never show stray “T”; Xref layer names are displayed without the xref| prefix while operations still use full names internally
- Persists filter/toggle/xref selections between runs via environment variables

LayerCreation
- LayerCreation — create/update a layer with True Color + Color Books support, plus a “Set as current layer” toggle (DCL with CLI fallback).
- Fields: Name, Color (ACI / RGB / ColorBook), Linetype, Lineweight, Transparency; also sets defaults for NEW objects (CELTSCALE, CETRANSPARENCY, THICKNESS).
- Runs a DCL dialog when the DCL core is healthy; otherwise runs NEWLAYERCLI (always works).

LayersNameToClipboard
- LayersName2Clipboard — collect unique layer names from a user selection and copy them to the Windows clipboard as a newline-separated list
- Uses an HTMLFile COM object to access clipboardData and write text directly to the clipboard

PurgeUnusedLayers
- Purges unused layers using a dialog that scans the drawing and deletes layers with no entities on them.
- Protects critical layers and the current layer and optionally skips Xref layers.

RenameLayer
- LRN — DCL-driven batch layer renamer with search filter, add prefix/suffix, remove substring, replace text, optional ALL CAPS, and optional auto-merge after remove
- Builds a matching layer list (excluding layer 0), then renames each layer via command-line -RENAME and optionally merges via -LAYMRG
- Wraps operation in an Undo mark and shows an Express Tools progress meter

Zoom2Layer
- Displays a filterable layer selection dialog and then zooms the view to the extents of all objects on the chosen layer.
- Supports picking a layer directly from a selected object in the drawing and remembers the last filter used.
Categories: AutoCAD_Lips
Categories: AutoCAD_Lips
