
BoQExtra
β The final result is a productivity-focused AutoCAD and Civil 3D quantity takeoff plugin that combines geometry measurement, dynamic block counting, formula generation, field-based MTEXT placement, preview validation, entity editing, model-space synchronization, and export automation in one interface.
π BoQExtra reduces repetitive manual measurement, prevents copy-paste mistakes, improves BoQ traceability, speeds up block and layer checking, and helps users create cleaner construction quantity documentation with fewer manual steps.
π Important configuration note: the project targets
.NET Framework 4.8and requires AutoCAD or Civil 3D managed API references throughAutoCAD_Civil3D_references.propsor a user-specific ObjectARX reference path. Profiles and logs are stored in%APPDATA%\BoQExtra.
LayoutTools
Tags- Layouts, Viewports, Paper Space, DCL, Dialog_UI, Clipboard, Extra_AutoCAD, General_AutoCAD, Lisp
- Zoom
- Annotation
- UndoMark or Undo grouping
- Persistent DWG storage or XRecord persistence
- Wildcard filter

Zoom Extend Window
Result summary The routine provides a stable dialog-driven way to select layouts, optionally include Model, copy selections to clipboard, then apply zoom extents or a consistent zoom window in Paper Space across the selected layouts. Tags Layouts, Paper Space, DCL, Dialog_UI, Clipboard, Viewports, General_AutoCAD, Lisp, Extra_AutoCAD Suggest relevant tags not in the list Zoom, Wildcards, Undo
LayerCreation
- Running LayerCreation creates or updates a layer with the specified name, linetype, lineweight, transparency, and color (ACI/RGB/ColorBook), then applies the configured defaults for new objects and optionally sets the new layer current.
- If the DCL core is not usable, the routine automatically falls back to NEWLAYERCLI, which collects the same key inputs via the command line and performs the same layer creation/update and default-setting steps.
- The last used color selection is retained for subsequent runs, enabling consistent layer creation workflows across sessions.

CopySelection_vs.01
Result: A new polyline segment is created from the selected portion of the original LWPOLYLINE, placed on the chosen layer, and optionally extended, rotated, shifted, and replicated as multiple offset copies according to your dialog settings. β’ Efficient profile building: Complex pipe or band arrangements along an alignment can be generated from a single base polyline, with each functional run duplicated and positioned with precise numeric control rather than manual edits. β’ Consistent offsets and angles: Repeated elements share the same extension, rotation, distance, and offset parameters, giving your layout a uniform and standards compliant appearance. β’ Safe experimentation: Apply and Undo inside the dialog let you experiment with different combinations of offsets, angles, and extension distances, knowing that Cancel can revert everything and OK will keep the final configuration in a single undo block. β’ Workflow memory: The command remembers your last layer and filter, so subsequent runs in the same project feel streamlined with minimal repetitive input. Copy code:
CreatesXrefsLayersAssign_vs.00
Result / Outcome: All selected xrefs are moved to the layers chosen in the dialog, so each external reference can live on its own dedicated layer (for example _xref_xrefname) for better control of visibility, plotting, and color. This makes it very fast to standardize xref layers across drawings without manually searching for each xref insert.
UnReloadDetachSelectedXrefs_00
Result:- Generates a reusable Xref list file containing drawing context and per-xref configuration: HOSTINSUNITS, HOSTUCSNAME, and Name|Type|FoundAt|UnitsCode|Layer lines.
- Re-applies Xref configuration deterministically to reduce unit-scaling and UCS-related inconsistencies during reload/attach workflows.
- Restores correct layer placement by forcing xref inserts onto the saved layer after load/reload actions.
- Preserves working context for bulk actions by restoring the original UCS and view after ALL operations complete.
Based on / Source code:Multiple_text_mtext_2
Result: All selected TEXT and MTEXT objects are replaced by a single MTEXT entity that preserves line order, paragraph separation, and underline formatting while matching the original visual style. β’ Cleaner editing: You can now edit the combined content in one MTEXT editor instead of handling many separate text entities. β’ Consistent appearance: The new MTEXT inherits layer, color, style, height, alignment, and rotation from the first selected text item. β’ Preserved structure: Individual lines from plain TEXT are kept as separate paragraphs, and underline codes are correctly converted to MTEXT format. β’ Non reversible by command: Original text entities are deleted once the MTEXT is created, so the change is final unless you use Undo. Copy code:Copy_to_Clipboard_Xref
Result: All text gathered from your picked nested entities is extracted, combined, and copied directly into the Windows clipboard. β’ Accurate extraction: TEXT + MTEXT + DIMENSION override/measurement + LEADER annotation + BLOCK attributes. β’ Fully automatic cleanup: All temporary entity copies used to extract text are deleted automatically. β’ Clipboard-ready output: Final text is immediately paste-ready for Excel, Word, Notepad, emails, or documentation. β’ Unmodified drawing: No permanent entities remain from the extraction process. Copy code:
Copy_to_Clipboard
Result: The selected annotation content is cleaned, normalized, stripped of formatting codes, and copied directly to the Windows clipboard in the chosen text format. β’ Mode 1 (rb01): Produces one continuous clean text line suitable for Excel cells, filenames, or compact notes. β’ Mode 2 (rb02): Produces structured multi-line text for documentation, emails, or reports. β’ Clean Output: All MTEXT formatting, Unicode escapes, control codes, and garbage strings are removed, leaving readable plain text only. β’ Universal Use: The clipboard result can be pasted instantly into Word, Excel, Notepad, Outlook, or any external application. Copy code:RotateMtextVport
Result:- All selected MTEXT objects become horizontally oriented (0Β° rotation)
- All selected TEXT objects rotate to match the viewport orientation
- Text readability is improved in rotated viewports
Lower
Result: All selected TEXT and MTEXT entities are converted to the chosen case (Upper or Lower) instantly. β’ Uniform Formatting: Every selected annotation ends with consistent capitalization across the drawing. β’ Non-destructive: Only the text content changes β layer, style, color, rotation, and position remain untouched. β’ Clean Execution: System settings are restored automatically, leaving the environment unchanged after the command finishes. β’ Immediate Feedback: The text updates visually in the drawing as soon as the command loops through all entities. Copy code:Upper
All selected TEXT and MTEXT objects are converted to uppercase instantly.
PrefixSuffixRound
β’ Transformed text entities β Selected TEXT, MTEXT, ATTRIB, and first attributes of INSERTs have their string content updated based on the chosen prefix, suffix, or rounding rules β’ Cleaned prefixes/suffixes β Unwanted leading or trailing patterns can be removed, even when partially matched with wildcards, while keeping important captured segments β’ Formatted numeric text β Number-only labels can be normalized to a consistent decimal precision using the Digits mode β’ Batch processing summary β After selection, the routine reports how many items were processed, giving quick feedback on scope β’ Reusable configuration β Users can repeat transformations on new selections without reconfiguring, thanks to stored PSOT_* environment values and helper commands PREF, SUFF, and OKR_TXTPlusMinusNumericValue
β’ Updated text content β All selected TEXT, MTEXT, ATTRIB, and ATTDEF objects have their targeted numeric portions incremented or decremented by the specified amount β’ Preserved formatting β Non-numeric characters, prefixes, suffixes, and MTEXT control codes remain unchanged, so labels and expressions keep their layout β’ Consistent precision β Decimal numbers are adjusted with respect to their existing precision (and the increment) with trailing zeros padded when required β’ Batch-friendly β Multiple selected entities are processed in one run with a single UNDO group, allowing quick sweeping renumbering or value adjustments β’ User convenience β Last used settings are remembered, making repeated plus/minus operations fast with minimal extra input
Slope_Ro
β’ Displayed slope ratio β Presented as Slope_Ro: run:rise after simplification β’ Displayed slope angle β Angle shown in degrees with two decimals β’ No geometry created β Does not draw text, objects, or symbols β’ Useful for quick checks β Ideal for rapid field/plan slope validation β’ Environment restored β BLIPMODE and CMDECHO returned to original valuesRegion2Polyline
β’ Polyline output Each REGION is converted into a clean closed LWPOLYLINE that accurately follows the REGION perimeter β’ Curvature preservation All arcs inside the REGION become proper polyline bulges, maintaining geometric fidelity β’ Consistent segment order The exploded segments are automatically sorted to produce a continuous, gap-free outline β’ Cleanup Original REGION objects and intermediate exploded entities are deleted to avoid clutter β’ Final geometry The resulting LWPOLYLINE is closed, planar, properly oriented, and ready for further use such as hatching, offsetting, area calculations, or contours
OffsetAndLayer
β’ Geometric result New offset curves are created for each valid planar object based on the chosen inward or outward offset β’ Layer result Every newly created offset entity is placed on the selected layer while the originals remain unchanged β’ Direction verification If the resulting area contradicts the chosen direction, the offset is reversed and recreated correctly β’ Failure report Objects that cannot be offset (typically too small for inward offset) are counted and reported to the user β’ Undo safety All operations are bracketed inside a single undo mark so the entire offset procedure can be undone at onceMiddleLinePolylines_2
β’ Geometric result A new two vertex LWPOLYLINE is added in ModelSpace that represents the centerline between the two selected boundary curves β’ Non destructive The original entities remain unchanged; only an additional centerline object is created β’ Workflow benefit Provides an extremely fast way to generate a central axis for profiles, corridors, or similar parallel edge situations
Lengthen
Result: All selected lines, arcs and polylines are extended at their start and end by the chosen distances, with the final state reflecting your last confirmed Apply or single OK execution. β’ Precise control: You obtain fine grained control over how far each end of the geometry is extended, including curved segments, without manual stretching for each object. β’ Safe experimentation: The Apply and Undo buttons allow you to experiment with multiple extension settings while the command is running, always able to step back to the previous state within the same session. β’ Clean undo path: If you cancel, all extensions made during that run are reverted, leaving the drawing unchanged; if you accept, the final geometry is grouped into a single undo step for later reversal. β’ Workflow integration: The load message reminds you that the tool is available and how to invoke it, integrating smoothly into everyday drafting for trimming and extending geometry with more flexibility than the standard extend command. Copy code:
InteriorPolylinesArea
β’ Final geometry Produces broken, offset, converted, cleaned, or unified polylines depending on the chosen option β’ Area readiness Ensures clean closed shapes perfect for catchment modeling or quantity extraction β’ Efficiency Complex multi-step workflows can be triggered with a single dialog choice β’ Repeatability Previous user settings persist, speeding repeated processingCopySelection
β’ Segment duplication A new LWPolyline reproducing only the selected portion of the original is created β’ Layer assignment The new polyline is placed on the chosen layer without altering the original object β’ Workflow benefit Enables quick extraction of partial runs for detailing, highlights, or separate layer control β’ Session persistence Stores last used filter and layer to speed up future usage
AnnoAllOff
- If the user confirms a selection, ANNOALLVISIBLE becomes 0 on each selected tab and the prior tab/mode state is restored afterward.
- If no tabs are selected, prints AAOFF: Nothing selected. No changes made.
- If the dialog is cancelled, prints AAOFF: Cancelled.
- If the dialog cannot be loaded, prints AAOFF: Could not load dialog.
- Always deletes the temporary DCL file and unloads the dialog definition at the end of the routine.

SelectLayout
Result:- Interactive dialog box appears with all paper space layouts listed
- Selected layout becomes the current active layout
- Confirmation message displays the activated layout name
- Temporary DCL file is automatically deleted after operation
- Drawing viewport switches to the chosen layout tab

GoToLayout
- On OK, switches CTAB to the selected layout or Model tab and prints a confirmation line.
- If no matches exist, OK is disabled and the command prevents switching; if reached defensively, the routine restores the original tab and reports no matches.
- On Cancel or close, restores the original tab and prints Cancelled. Original tab restored.
- Always unloads the dialog and deletes the temporary DCL file after the dialog closes.
- If the DCL file cannot be written or the dialog cannot be loaded, prints an error message and exits without changing tabs.

AnnoAllOn
- If the user confirms a selection, ANNOALLVISIBLE is set to 1 on each selected tab and the previous tab and mode settings are restored.
- If no tabs are selected, prints AAON: Nothing selected. No changes made.
- If the dialog is cancelled, prints AAON: Cancelled.
- If the dialog cannot be loaded, prints AAON: Could not load dialog.
- Always unloads the dialog and deletes the temporary DCL file at the end of execution.

Copy2Layouts
- On successful copy, selected objects are duplicated into each chosen paper-space layout and a confirmation alert reports completion.
- If objects are not selected, shows No objects selected and instructs to use Pick first.
- If no layouts match the filter, shows No layouts match the current filter and does not copy.
- If no target layouts are selected, shows No target layouts selected and does not copy.
- On close or cancel, exits cleanly after unloading the dialog and deleting the temp DCL file, without copying anything.

SetUpUnits
β The result is a faster Civil 3D drawing setup workflow where users can select a country or region, choose a coordinate system, set drawing scale, define angular units, and define drawing units from one clear AutoLISP dialog.

MultiOffsetBothSidesWithLayer
Result: The command creates new offset lines on both sides of the originals based on chosen distances or profiles. If enabled, it deletes the original entities and places the new offsets on the selected layer. The result is a streamlined process for creating symmetrical, layered linework β ideal for drafting conduits, ducts, or structural outlines in AutoCAD.
LayoutNum
- On Apply, selected layouts are renamed immediately according to the preview plan, the dialog stays open, and Undo becomes available for rollback of the last rename operation.
- On Undo, the most recent rename frame is reverted and the selection is restored to the reverted layout names; supports multi-level undo until the stack is empty.
- On OK, performs the rename then closes the dialog, persisting the current UI settings for the next run.
- On Cancel or close, no new rename is applied by this action and the dialog exits after capturing settings and cleaning up the temporary DCL file.
- If validation fails, shows an alert explaining the issue and prevents renaming until corrected.
- If no paper-space layouts exist, prints a message and exits without opening the dialog.

LockAllVp
- The selected layouts will have their Paper Space viewports set to Locked or Unlocked according to the chosen action.
- The dialog list updates to reflect the new per-layout status immediately after Lock or Unlock.
- Users can export the selected layout list (with status) via Copy to Clipboard for external use.

Zoom Extend
Result After selection in the dialog, LZE switches through the chosen layout tabs and applies Zoom Extents in Paper Space, restoring the original tab when finished. Tags CAD, General_AutoCAD, Extra_AutoCAD, Lisp, Layouts, Paper Space, Viewports, DCL, Dialog_UI, Clipboard Suggest relevant tags not in the list Zoom, Wildcards, Undo, Selection_UI, Temp_File_Handling
Zoom Window
Result After selection in the dialog, LZW prompts for a zoom window once, then switches through the chosen layout tabs and applies Zoom Window in Paper Space, restoring the original tab when finished. Tags CAD, General_AutoCAD, Extra_AutoCAD, Lisp, Layouts, Paper Space, Viewports, DCL, Dialog_UI, Clipboard Suggest relevant tags not in the list Zoom, Wildcards, Undo, Selection_UI, Temp_File_Handling
Layouts_list
- Copies the selected layout names to the Windows clipboard (CRLF separated) and reports completion in the command line and via a dialog message field.
- If nothing is selected, shows an alert requesting selection and displays Nothing selected without copying.
- If clipboard copy succeeds, prints Copied to clipboard; if it fails, prints a failure message and no clipboard update is guaranteed.
- Always unloads the dialog and deletes the temporary DCL file on close or error.

FreezeLayersInVP
- If the user clicks Freeze, each selected layer is frozen via VPLAYER and a summary line prints listing frozen layer names.
- If no layers are selected, prints No layers selected.
- If the dialog cannot be loaded, shows an alert and exits without changes.
- After the dialog closes, restores CMDECHO, unloads the dialog, and deletes the generated DCL file.

TitleBlocksTools
Result:- Main menu dialog appears with Export CSV and Load CSV options
- Selecting Export launches interactive titleblock picker and tag selector
- CSV file is generated with proper escaping and Excel-safe formatting
- CSV optionally opens in Excel automatically for editing
- Selecting Load CSV updates titleblocks from edited CSV file
- Only changed attribute values are updated (efficiency optimization)
- Single undo operation reverts all updates if needed
- Help dialog provides complete documentation with copy-to-clipboard features
- Explorer and Notepad++ buttons enable quick LISP file access and editing
- Reload button applies code changes without restarting AutoCAD
- Round-trip workflow: Export β Excel edit β Update maintains data integrity
- Status messages report counts of updated attributes and blocks
- Unicode/ASCII toggle adapts help text for different display preferences

Zoom2Layer
- If the user confirms a layer selection, the view zooms to the combined extents of entities on that layer.
- If no objects exist on the selected layer, prints No objects found on layer for that layer.
- If objects exist but none provide a valid bounding box, prints No valid geometry to zoom to for that layer.
- If the user cancels or no layer is selected, prints No layer selected or cancelled and performs no zoom.

RenameLayer
- Running LRN opens a dialog to batch-rename layers matching a search substring (or all layers except 0) by removing, replacing, and/or adding prefix/suffix, with an optional ALL CAPS conversion.
- If the Merge option is enabled and a computed target name already exists, the routine merges layers instead of failing a rename, then continues processing remaining matches.
- The operation runs with a progress meter and is wrapped in a single Undo mark; temporary DCL files are deleted and settings are restored on completion or cancel.

PurgeUnusedLayers
- Shows a populated list of unused layers and a status line with the total unused layers found.
- After purge, prints results to the command line with counts for Deleted and Failed deletions.
- If nothing is selected or nothing is unused, reports the condition instead of deleting anything.
- Cancelled is reported when the dialog is closed without purging.

LayersNameToClipboard
- The command outputs the unique layer names used by the selected entities and copies those names to the clipboard as a clean, newline-separated list suitable for pasting elsewhere.
- If no objects are selected or no layer names are found, nothing is copied and an informational message is printed.

FreezeLayersInMS
- Running FLMS3 presents a filterable, multi-select layer management dialog that can target current layers, xref layers, or both, with optional selection of specific xrefs to constrain xref-layer matching.
- Selected layers can be batch-modified (Freeze/Unfreeze, Off/On, Lock/Unlock, Plot/NoPlot) and the routine reports how many layers were affected.
- Xref layer names appear without the xref| prefix in the list for readability, but actions are applied to the true full layer names; filter/toggle selections persist between runs without showing a stray T.

DuplicateToSelectedLayer
- The user selects entities, chooses a target layer from a dialog, and the routine duplicates the entities in place onto that layer.
- The copied entities are forced to the chosen layer, moved to the front of draw order, and left preselected for convenience.
- If the user cancels the dialog or selects nothing, nothing is changed and an informational message is printed; the last chosen layer is remembered when OK is used.
DuplicateToNewLayer
- After running DUPLICATELAYER, a new (or existing) layer name is selected via dialog; if it did not exist, it is created by copying properties from the picked objectβs layer, then set as the current layer.
- If the dialog checkbox is enabled, the originally selected object is moved onto the new layer and updated; otherwise, only the current layer changes.
- After running DUPLICATELAYERCURRENT, the current layer is duplicated into the provided name (created if needed) and becomes the new current layer; no entity reassignment occurs.

DeleteLayerByFilter
- Running DeleteLayerByFilter opens a filterable, multi-select list of eligible layers; selected layers are deleted using the corrected -LAYDEL scripted sequence, with a VLA fallback if necessary.
- Reserved layers (0, DEFPOINTS) and Xref layers are not deleted and are reported as failures with reason tags.
- Running LayDelByList performs the same deletion logic for a predefined list variable LAYLIST and reports deleted vs failed layers in the command line output.

ChangeLayerToSelected
- The user chooses a target layer from a filtered popup list (optionally seeded by picking an objectβs layer), and the last filter/selection are remembered for the next run.
- After confirming the layer, the user selects multiple objects and those entities are moved to the chosen layer using CHPROP.
- If the user cancels the dialog or selects no objects, no changes are made and the routine prints a cancel/no-selection message.

ChangeLayer
- If the user clicks OK after selecting a layer from the filtered list, the routine returns that layer name and the command sets it as the current layer (CLAYER).
- If the user clicks Pick Layer from Drawing, the filter is replaced with the picked objectβs layer and the dialog reopens to streamline selection.
- If canceled or no valid list selection is made, the current layer is unchanged and a cancel/no-selection message is printed; the last filter pattern is still saved for next time.

MLeaderWidthFix
- MTEXT objects have their Width set to the user-entered value, standardizing wrapping/column width across the selection.
- MLeaders that use MTEXT content (ContentType = 2) have their TextWidth set to the same value.
- TEXT entities are left unchanged and explicitly reported as skipped because their width is not directly settable via a simple Width property in this routine.
MleaderStraight
- MLeaders are adjusted so the leader segment is βstraightenedβ by projecting the begin vertex to a perpendicular reference line through the end vertex (horizontal or vertical, chosen automatically).
- You can run the command in either ModelSpace or PaperSpace; the routine uses the current active space and can process either a chosen set or all MLeaders in the current layout/space.
- After processing, the drawing regenerates and the command prints how many MultiLeaders were processed, or indicates nothing was found/canceled.
NCopyExtra
Result: Each picked nested object is duplicated into the current drawing as an independent entity on a clean local layer whose properties match the original xref layer. β’ Independent geometry: The copied entities no longer depend on the xref; they are fully local and editable even if the xref is unloaded or detached. β’ Clean layer structure: The drawing gets local layers (without xref prefixes) that visually match the xref layers, helping to standardize and simplify layer naming. β’ Consistent appearance: Because color, linetype, and lineweight are cloned from the original xref layer, the copied entities look identical to what they were inside the xref. β’ Controlled extraction: You decide interactively which pieces to pull from the xref or block, one pick at a time, instead of exploding or binding the entire reference. Copy code:
TotalLengthAreaDetailed_vs_01
Result in practice β’ Clipboard You can immediately paste an Excel compatible formula such as =ceiling(10.25+5.75,5) into a worksheet. β’ Drawing annotation The routine optionally places a UCS aware MText label like 10.25+5.75=16.00 for multiple entities or just 16.00 when a single entity is selected. β’ Feedback Command line messages display the summed length or area with the same configured precision.
BookmarkEntities
Result / Usage summary: 1. Run BMEntityPos. 2. Click βPick from drawingβ, select entities; they appear in the grid with number, type, coordinates, color, and remark column. 3. Optionally assign per-bookmark remarks (e.g., βDetail A β top left nodeβ, βValve 12β, etc.). 4. Use βGroupβ filter to quickly narrow down to Text, Polylines, Blocksβ¦ 5. Use βZoomβ to jump directly to the stored object; the tool tries to use the current geometry via handle so it works even if things moved. 6. Save the list (per drawing) and later βLoadβ or βImportβ it again to restore your navigation points in future sessions.
In short, BMEntityPos is a lightweight bookmark & navigation manager for key entities in your DWG, complete with grouping, remarks, zooming, and per-file persistence.Clear_Bookmarks
β’ If OK is selected β *textPositions* is set to NIL, and a message confirms successful clearing β’ If Cancel is selected β Bookmark list remains intact, and a safe cancellation message is displayed β’ No entities or drawing data are modified, only memory storage is affectedAdd_Bookmark
β’ Bookmark list updated β *textPositions* ends up containing one entry per processed entity in the format (label startPt endPt) β’ Entity count feedback β Command line reports how many entries are now stored, giving quick confirmation of captured objects β’ No geometry modification β The routine does not create or delete any drawing entities; it only reads and stores data β’ Ready for downstream tools β Other routines can later consume *textPositions* to place markers, labels, leaders, or export coordinatesRenameBlock
β The final result is a cleaner AutoCAD or Civil 3D drawing where a selected block definition has been renamed quickly and consistently. The tool saves time during DWG cleanup, block library organization, CAD standardization, and block management tasks by removing the need to manually locate the block definition name before using AutoCAD Rename.

RemovesDuplicatedBlocks
β The final result is a cleaner AutoCAD or Civil 3D drawing with duplicated block references removed based on block name and insertion point proximity. The tool improves DWG cleanup, block management, drawing audit workflows, and CAD quality control by reducing repeated objects, simplifying entity counts, and removing unnecessary duplicate block geometry.

CopyBlock
Result: A new block definition is created with a new name, the chosen reference is retargeted to this definition, and optionally placed on a selected layer with its contents forced ByLayer, while the original reference can be removed automatically. β’ New block identity: You obtain a separate, uniquely named block that can be edited or managed independently from the original definition. β’ Layer controlled copy: In +Layer mode, the new block reference and its internal geometry conform to a single layer standard, improving visibility and plotting control. β’ Clean replacement: With βDelete Initial Blockβ enabled, the original reference is removed and replaced by the newly named copy in the same location. β’ Predictable behavior: The new block reacts as expected to layer changes and ByLayer properties, making it easier to integrate into existing layer standards. Copy code:ChangeBlockEntitiesLayer
Result: All entities inside the definitions of the selected block references are moved to the same layer as their block reference, giving full layer based control over the block content. β’ Consistent blocks: Internal entities no longer sit on mismatched layers, so turning the block layer on or off reliably affects the entire block content. β’ Easier management: Color, linetype, and plot settings can be controlled centrally from the block reference layer instead of multiple internal layers. β’ Global effect: Since the block definition is edited, every instance of that block in the drawing reflects the updated internal layer assignments. β’ Non destructive in layout: No entities are deleted or created in model or paper space, only the layer property of block definition entities is updated. Copy code:3D_PolyOffset
Short description Creates a 3D offset of a selected 3D polyline. Converts the original 3D polyline into a temporary 2D polyline. Applies a user-defined offsetβ¦

SetPlotDeviceNames_00
- All layouts that have DWG To PDF.pc3 available will have their plot device/configuration set to it.
- Any layout that does not list the device remains unchanged and is reported in the command line output.

SteSysVar
Result: User ends up with multiple key AutoCAD system variables set in one go, from one dialog, grouped by task (file/dialogs/selection/drafting/xrefs/publish). Settings persist during the session, the dialog can be reloaded from disk, and even publish behavior (PUBLISHCOLLATE) can be tuned from the same tool.
Hide / Show Objects
Result: Depending on the userβs choice, the drawing updates to show only selected objects, hide them, or reveal all again. Visibility attributes are updated for all entities, and the screen refreshes automatically for immediate effect.
Change Background Color
Result: Model and/or Paper space background changes to the selected color preset (black, white, or gray). Cursor, tracking, and snap marker colors adjust for readability, and previous colors are restored if the dialog is canceled.
AnnoAllOnOff
- If the user confirms a selection, sets ANNOALLVISIBLE to the chosen value (1 or 0) for each selected tab and restores the prior tab/mode state.
- If no tabs are selected, prints AAVIS: Nothing selected. No changes made.
- If the dialog is cancelled, prints AAVIS: Cancelled.
- If the dialog cannot be loaded, prints AAVIS: Could not load dialog.
- After applying, prints a confirmation message indicating the value applied to the selected tabs.

RotateUCS
Result: The current UCS is rotated around the Z axis by the angle the user specifies, the snap angle is aligned to it, and the user can store this UCS under a name to return to it later. This makes it easier to draft on rotated building wings, site orientations, or non-orthogonal geometry while keeping the cursor and ortho aligned.
NavvCubeDisplayOffOn
β The result is a quick AutoCAD display utility that refreshes the Navigation Cube or NavVCube state from a single command, making it easier to restore visual navigation controls during drafting and Civil 3D production work.

Export_Import_MS_UCS
π― The result is a faster AutoCAD UCS management workflow where named User Coordinate Systems can be exported, archived, shared, imported, and reused between drawings.
β CAD users can preserve project UCS standards, improve drawing setup consistency, and reduce manual UCS recreation during Civil 3D and AutoCAD production work.

CopyMove2MidPoint_vs.01
β The result is a precise midpoint-alignment workflow for quickly moving or copying selected AutoCAD objects from one reference location to another.
ποΈ It is useful for CAD alignment, infrastructure drafting, block/object repositioning, profile or section drafting assistance, and repeated object placement where midpoint reference control is faster than standard manual MOVE or COPY workflows.
XrefDrawingOrder
β The result is a faster AutoCAD xref draw order workflow for large reference-based drawings.
π§ Users can control background surveys, layout sheets, design xrefs, utilities, corridors, alignments, basemaps, and annotation references with a reusable visual ordering workflow.
π The command reduces repetitive manual DRAWORDER operations and makes xref stacking more predictable in AutoCAD and Civil 3D production drawings.
ExpImpUCS
π― The result is a faster and more controlled UCS management workflow for AutoCAD and Civil 3D.
π€ Users can export named UCS definitions from one drawing, share the .ucs file, and import the same coordinate systems into another drawing.
π₯ The tool improves drawing setup consistency, reduces repetitive UCS recreation, and supports project-based folder structures used in infrastructure and Civil 3D production.
β ExpImpUCS is especially useful when multiple drawings must share the same custom UCS definitions for Lageplan work, xref coordination, layout checks, and repeated CAD standards.AreaCalc
β The result is a labeled and calculated area schedule for selected closed AutoCAD geometry, with converted values, totals, and optional linked field expressions.
π Depending on the selected report type, the user receives a placed drawing table, a text based schedule in model space, a TXT report, or a CSV report for Excel and quantity workflows.

LinetypeWithCharacters2
β The result is a custom AutoCAD linetype loaded into the drawing and assigned to the chosen layer or layers.
β The selected layer can also be created or updated with color, lineweight, transparency, CELTSCALE, THICKNESS, and current-layer settings.
β The workflow reduces manual LIN file editing and makes it faster to create production-ready text-based linetypes for CAD and Civil 3D drawings.

LinFileDraw_vs.01
β The result is a clean AutoCAD linetype sample legend generated from a LIN file, with selected linetypes drawn as scaled polyline examples and labeled with readable MText.
π This is useful for CAD managers, Civil 3D template maintainers, drafting teams, and users who need to validate custom linetypes, prepare linetype documentation, or compare LIN definitions directly in model space.

LinFileDraw
β The result is a clean AutoCAD linetype sample legend generated from a LIN file, with selected linetypes drawn as scaled polyline examples and labeled with readable MText.
π This is useful for CAD managers, Civil 3D template maintainers, drafting teams, and users who need to validate custom linetypes, prepare linetype documentation, or compare LIN definitions directly in model space.

ReplaceBlockList
β The result is a faster and safer AutoCAD block replacement workflow for drawings with many repeated symbols, details, callouts, blocks, or CAD standard updates.
π Instead of manually finding, copying, placing, rotating, scaling, and deleting block references one by one, ReplaceBlockList lets the user define multiple source-to-replacement rules and process them in a single batch.
π The preview dialog gives a clear count of affected source instances before replacement, helping reduce mistakes in large drawings.

ExplodeLinetype
The routine replaces selected TEXT and MTEXT objects with editable exploded line geometry. When the primary ExplodeLinetype command is used, the resulting entities are standardized on layer MISC with Continuous linetype, ByLayer color, and ByLayer lineweight.

Entities2Layers
The routine moves enabled dimensions, multileaders, text, or mtext objects from their current source layers to the selected target layer. It applies the chosen drawing scope, source-layer selections, and locked-layer rules, reports processing totals, and preserves disabled source layers and inactive annotation categories unchanged. Optimized counting and guarded row processing improve responsiveness and reliability in drawings containing large annotation sets.
AutoTrimExtendLines
π― Result:
AutoTrimExtendLines provides a faster CAD cleanup workflow for extending and trimming selected geometry to bounding edges. The user can pick boundary objects, pick objects to modify, apply the operation, review the debug result, undo if needed, and continue working from the same dialog.

ToolPaletteExporter
The result is a portable Tool Palette export package containing the selected XTP palette, related source files, optional palette image resources, and a clear missing-file report. The workflow helps CAD managers and AutoCAD users back up, transfer, audit, and document tool palettes without manually chasing every referenced LISP, DWG, icon, script, or support file.

SaveCUIX
The command produces a new filtered .cuix file at the selected output location. The exported package can contain only the required [username] ribbon tabs, [username] ribbon panels, [username] Quick Access Toolbar, toolbars, and double-click actions selected in the dialog.
LoadIcons
The result is a faster AutoCAD and Civil 3D ribbon icon refresh workflow. Instead of manually copying PNG files and reloading CUI files, the user can run
LoadIconsto deploy icon updates to the support path and reloadCIVIL.cuixin one operation.
EditRibbonButton
The result is a faster and more controlled AutoCAD ribbon customization workflow. Users can update ribbon buttons, images, help tooltips, macros, command metadata, and command placement without manually editing CUIX XML or repeatedly opening the full CUI editor.

CreateFolderStructure
The result is a ready-to-use AutoCAD Help_File command folder for a new ribbon button. The generated folder includes the expected icon placeholder, LISP placeholder, XAML tooltip file, screenshot folders, and compiled support folders, placed in the correct ribbon and group-based Help_File location.

AutoBackupCUIX
The result is a timestamped, filtered backup copy of CIVIL.cuix saved to the configured menu folder. When enabled, the routine protects the Civil 3D customization environment once per day and gives the user manual control through command-line commands or the AutoBackupCUIX dialog.

AddRibbonButton
The result is a faster and more controlled AutoCAD ribbon button creation workflow for CAD support folders, CUIX maintenance, help system linking, custom image assignment, and production ribbon organization.

AECVersionPlugin
The result is a clean Visual Studio project file for compiling AECVersionPlugin.dll, an AutoCAD and Civil 3D diagnostic plugin intended to run through the
AECVERSIONcommand afterNETLOAD.It provides the build foundation for a managed AEC version scanner while preserving the correct Autodesk reference behavior required by AutoCAD plugin deployment.

ToolbarManager_vs.01
β The final result is a productivity-focused AutoCAD Civil 3D toolbar layout manager that centralizes toolbar discovery, visibility control, monitor-aware positioning, profile storage, profile restore, toolbar-set editing, CSV export, clipboard workflows, and diagnostic logging.
π’ It reduces manual AutoCAD UI setup, improves multi-monitor Civil 3D workflow recovery, makes toolbar layouts repeatable across workstations, and helps CAD teams standardize floating toolbar arrangements with fewer repetitive steps.
ImportBlock
β The final result is a focused AutoCAD and Civil 3D block import workflow that lets users pull clean block definitions from external drawings, optionally insert them with controlled scale and UCS rotation, and keep common import settings saved for repeat use.
It improves block library reuse, drawing setup speed, CAD standardization, production drafting efficiency, and DWG management while reducing repetitive manual block import steps.
InsertBlockFilterScale
β The final result is a faster AutoCAD and Civil 3D block insertion workflow where users can search existing blocks, preview geometry, insert multiple symbols, apply scale and rotation, and reuse saved settings.
It reduces repetitive block browsing, improves CAD drafting productivity, supports standard block library usage, and makes DWG block insertion more controlled and efficient.
ExplodeBlocks
β The final result is a practical AutoCAD and Civil 3D block cleanup tool that helps users explode protected, difficult, or non-uniformly scaled block references into editable geometry.
It reduces manual block troubleshooting, improves DWG editing productivity, supports drawing cleanup, and helps CAD users prepare block-based drawings for editing, coordination, export, and quality control.
DeleteObjectFromBlock
β The final result is a practical AutoCAD block editing and cleanup tool that lets users extract useful nested geometry from block definitions or delete unwanted internal objects with fewer manual steps. It improves DWG cleanup, block maintenance, CAD production speed, and drawing quality control by combining a simple DCL interface with direct nested entity selection and automated block definition editing.

CreateMultipleRectangleBlocks
β The final result is a faster AutoCAD and Civil 3D workflow for creating repeated page rectangles, collecting drawing geometry by page zone, and generating organized block references with consistent names. The tool reduces manual window selection, speeds up block creation, improves DWG structure, and supports more reliable drawing cleanup and production sheet management.

CopyBlock_vs.01
β The final result is a faster AutoCAD block management workflow: the user selects one block reference, creates a new independent block definition, optionally applies a CAD layer standard, optionally forces new block contents to ByLayer, and can remove the original block reference in the same operation.
This improves DWG organization, reduces manual block rename work, supports cleaner layer control, and helps CAD teams create reusable block variants with fewer repetitive AutoCAD steps.
AttachImagesToBlocks
β The final result is a practical AutoCAD and Civil 3D automation tool that connects external PDF and raster image files with named drawing blocks, attaches them at the correct insertion points, copies and renames files for document management, or embeds underlays directly into block definitions. It reduces repetitive manual attaching, improves sheet-to-block coordination, speeds up DWG preparation, and supports cleaner CAD and Civil 3D production workflows.
Convert3DFaceToPolyline
β The final result is an AutoCAD and Civil 3D workflow description for converting selected
3D Faceobjects into closedPolylineboundaries. It reduces manual tracing, improves drawing cleanup, makes face-based geometry easier to edit, and gives CAD users a clearer production workflow for managing 3D face outlines in DWG files.3DF_to_3DPoly
β The final result is a practical AutoCAD and Civil 3D AutoLISP utility that converts selected 3DFACE objects into closed 3D polylines with elevation-aware vertices. It improves drawing cleanup, makes legacy 3D face geometry easier to edit, reduces manual tracing, and supports faster 3D CAD and Civil 3D production workflows.
BookmarkEntities
β The final result is a focused AutoCAD AutoLISP bookmark manager that helps users record important entity locations, organize them by object type, add remarks, and zoom back to saved drawing areas quickly.
It reduces repetitive manual navigation, improves drawing review workflows, supports better CAD quality control, helps users manage object-based notes, and makes large AutoCAD and Civil 3D drawings easier to inspect.
XrNet
β 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.
TotalLengthAreaDetailed
β The result is a faster AutoCAD and Civil 3D quantity takeoff workflow: selected entities are measured, a clean expression is built, the value is copied for Excel, and an optional drawing annotation is inserted as MTEXT. Where possible, the MTEXT uses AutoCAD field expressions linked to the selected objects, while unsupported objects fall back to fixed numeric values.

ZoomXref
The result is a faster AutoCAD Xref navigation workflow. Users can find an external reference by name, confirm its units and layer context, then zoom immediately to the selected Xref extents without manually hunting through the drawing.

XRefs2Layers
β The result is a cleaner AutoCAD drawing where XREF references are organized on predictable layers.
π CAD teams can quickly isolate, freeze, lock, audit, or plot XREF content by using either one shared _XREF layer or separate 0-XREF_ layers.
π The final alert gives immediate feedback about how many XREF references were moved to each layer.

LayerList
β The final result is a compact AutoCAD and Civil 3D layer inventory report that helps CAD users audit DWG layer standards, review plotting configuration, diagnose frozen or locked layers, and document drawing layer properties with fewer manual steps.
By exporting the layer table to a reusable text file, LayerList improves CAD quality control, supports Excel-based reporting, speeds up project documentation, and helps maintain cleaner AutoCAD and Civil 3D production drawings.
ConvertPolylineAndText2Mleader
β The result is a faster AutoCAD workflow for converting existing polyline geometry into leader annotation geometry while preserving drafting properties and reducing manual redraw work.
ConvertLeaderAndText2Mleader
β The final result is a modern MLEADER replacing the selected legacy LEADER and MTEXT pair. The old leader and text are erased, the new multileader receives the selected text content and style behavior, and the annotation becomes easier to maintain in AutoCAD or Civil 3D production drawings.
AddVertex2Mleader
β The result is a faster AutoCAD multileader editing workflow: the selected MLeader receives an additional vertex point, making it easier to create clean jogs, route leader lines around drawing content, and improve annotation readability.

FixLineTextOverlap
β The result is a cleaner AutoCAD drawing where overlapping vertical LINE entities are replaced by readable step-out polylines and related TEXT or MTEXT labels are spaced along a consistent vertical rail.
β The drawing becomes easier to read, easier to plot, and easier to review because linework and annotations no longer occupy the same horizontal positions.
CopyPaste2BasePoint
β The result is a faster and safer AutoCAD copy-paste workflow for moving geometry between drawings while keeping objects aligned to the same 0,0,0 base point.
π The tool reduces manual base point mistakes, supports coordinated model-space transfers, and helps maintain drawing origin consistency in production CAD environments.
CopyMove2MidPoint
β The result is a precise midpoint-alignment workflow for quickly moving or copying selected AutoCAD objects from one reference location to another.
ποΈ It is useful for CAD alignment, infrastructure drafting, block/object repositioning, profile or section drafting assistance, and repeated object placement where midpoint reference control is faster than standard manual MOVE or COPY workflows.CookieCutter2
The primary routine trims intersecting drawing objects or erases visible-layer objects on the selected side of one closed boundary. It can break down blocks, hatches, and regions so their supported geometry can be processed. The multi-boundary routine preserves objects inside or crossing any selected boundary and erases objects outside the combined selected areas.

CenterAreaCentroid
π The result is either an AutoCAD POINT placed inside the selected closed object or a CENTROID text label placed at the geometric centroid of the selected polyline-derived region. This gives CAD users a faster way to mark internal points and centroid positions without manually calculating geometry.
TotalLengthPolyline
β The final result is a quick total length report for all supported selected objects. After running TLEN and selecting objects, AutoCAD displays an alert similar to: Total length of selected objects is 123.45.
TotalLengthAll
β After running ELEN, AutoCAD reports the number of accepted entities and their combined total length in the command line.
π The drawing remains unchanged because the routine only reads entity geometry and outputs a measurement summary.
TLength
β The result is a fast combined length value for selected AutoCAD geometry, displayed in the command line and copied to the clipboard for immediate reuse.
SumLengthField
β The result is a dynamic annotation workflow for AutoCAD quantity extraction.
π Users can place length and area totals directly in drawings, tables, labels, blocks, or leaders without manually calculating totals outside AutoCAD.
π The tool improves drafting speed, quantity checking, BOQ preparation, layer-based measurement workflows, and civil engineering production documentation.PolylineArea
β The final result is a fast AutoCAD area-total workflow: select polylines, calculate the combined area, view the formatted result, and paste the numeric value directly into external documentation or quantity reports.

PLLengthByLayer
β Final result:
A clear AutoCAD layer-length report showing the total lightweight polyline length for each layer, with optional TXT or CSV export for documentation, quantity review, Excel processing, or project QA.Exp_Imp_NamedViews
β The result is a repeatable AutoCAD Named Views transfer workflow. Users can save Named Views from one drawing, import them into another drawing, preserve related Visual Styles, and standardize view navigation across project DWGs without manually recreating each view.

NamedViewList
β The result is a faster AutoCAD named view workflow. Users can audit, filter, rename, delete, zoom to, and restore saved views from one practical dialog instead of repeatedly using command-line view management.

DynamicBlockFilter
β The final result is a faster AutoCAD and Civil 3D dynamic block selection workflow. Instead of manually searching for block references with a specific visibility state, lookup value, distance, angle, or other dynamic property, the user selects one source block, defines matching criteria, and receives a ready-to-use AutoCAD selection set. This improves drawing cleanup, production editing, block QA, CAD standardization, and Civil 3D DWG management with fewer manual steps and more reliable filtering.

DynamicBlockCounter
β The final result is a fast AutoCAD and Civil 3D block quantity report that shows how many standard blocks, dynamic blocks, xrefs, and visibility-state variants exist in the current layout or selected set. The tool improves CAD productivity, drawing quality control, block library auditing, Civil 3D plan production review, quantity verification, and DWG cleanup by replacing manual block counting with a repeatable AutoLISP reporting workflow.

DelUnusedBlocks
β The final result is a cleaner AutoCAD DWG file with selected unused block definitions removed from the drawing database.
π§Ή This reduces unnecessary block table clutter, supports better CAD standards management, improves block library maintenance, and can make drawing audits, cleanup routines, and project handover workflows easier.
π For AutoCAD and Civil 3D production users, DelUnusedBlocks provides a faster, more controlled alternative to manually inspecting unused blocks one by one.
DelSelectBlock
β The final result is a practical AutoCAD block cleanup utility that helps users remove repeated block references from a DWG faster than manual selection. It centralizes block name selection, drawing-based picking, confirmation, optional purge, saved settings, and deletion reporting in one DCL workflow. This improves CAD drafting productivity, supports cleaner drawings, reduces repetitive manual erase operations, and helps control unwanted block content in production AutoCAD files.

DeleteBlocks
β The final result is a practical AutoCAD block cleanup command that centralizes block review, filtering, instance counting, unused block selection, nested block checking, and destructive block deletion in one DCL interface.
It reduces repetitive manual block cleanup work, helps users find unused or unwanted block definitions faster, improves DWG hygiene, and supports cleaner AutoCAD and Civil 3D production drawings.
XrefOffsetLayer
β The result is a safer and faster AutoCAD Xref offset workflow: selected Xref curve geometry is recreated as real host-drawing geometry, offset by the requested distance, with optional source-layer cloning and a visible audit trail.
This improves Civil 3D production efficiency when users need offset geometry from references without binding, exploding, or manually tracing Xref content.

LayersImportExport
The project transfers complete or selected layer standards between AutoCAD drawings and CSV or XML files, applies edited or imported properties to the active drawing, resets Xref layer overrides from source files, previews layer geometry, and restores the latest layer-changing operation through Undo. It supports both one-drawing and multi-DWG workflows while providing filters, progress, cancellation, project-folder presets, logging, and diagnostics.

ChangeBlockLayer
The project changes the Layer property of checked, modifiable entities selected inside block references. Because the selected ObjectId belongs to the block definition rather than to an exploded copy, the modification is applied to the actual block content. The grid, individual highlighting, Xref detection, destination-layer validation, confirmation prompt, live logging, and session-level Undo Apply provide control over the operation.

CommandSearchExtra
The result is a centralized AutoCAD and Civil 3D command administration environment. CAD managers can audit Ribbon commands, validate CUIX links, detect missing LISP files, load support tools, repair metadata, export reports, and produce command documentation without manually searching through CUIX XML, support folders, or scattered toolbar resources.

CommandSearch Lisp Loader Only
The result is a centralized CAD command administration tool that helps teams keep AutoCAD and Civil 3D ribbon buttons, LISP loaders, CUIX metadata, help references, images, and command libraries organized and easier to validate.
It is especially useful when a production environment contains many custom commands, many Help_File folders, many partial CUI entries, and frequent LISP or DLL updates that need to be scanned, loaded, reported, and verified.

DeleteBlockCrossings
β The final result is a practical AutoCAD and Civil 3D cleanup plugin that helps users identify and remove unwanted curve segments passing through selected blocks. It reduces manual trimming, improves DWG quality control, documents crossing diagnostics, supports visual review, and keeps a reversible apply workflow for safer production drawing cleanup.

XrefsDrawingOrder
β The result is a controlled, repeatable AutoCAD xref draw order workflow. Users can inspect every external reference, reorder the visual stacking, save standard xref arrangements, preview the result, apply the order, and undo the last applied change without relying on repeated manual DRAWORDER picks.
π¦ In production drawings, this helps keep base maps, corridors, utilities, surveys, construction plans, labels, and discipline-specific xrefs visually organized and easier to audit.
LayerLeaderPlugin_test
π― The result is a controlled annotation workflow for AutoCAD and Civil 3D: users can place consistent MLeader labels, manage layer and block label rules, update linked labels, clean style overrides, and keep project annotation standards synchronized from one modeless plugin panel.
π The tool is useful for CAD managers, Civil 3D production teams, infrastructure designers, and drafting users who need repeatable leader labels, structured layer naming, dynamic block annotation rules, and cleaner drawing standards.

RibbonManagerPlugin
The result is a production-oriented AutoCAD and Civil 3D ribbon management plugin that reduces manual CUI editing work, makes ribbon command metadata easier to maintain, improves icon and help-file consistency, and allows fast updates to custom ribbon panels from a single modeless interface.

RotateUcs_vs.01
π The final result is a faster and more visual UCS management workflow for AutoCAD and Civil 3D. Users can rotate the UCS by typed angle, picked angle, or selected entity angle, save and restore named UCS records, preview UCS orientation, highlight selected UCS axes in the drawing, export and import UCS definitions, copy UCS settings into layout viewports, and review detailed logs. This improves productivity, reduces repetitive UCS command-line work, supports cleaner viewport orientation control, and helps CAD teams manage drawing navigation and drafting orientation with fewer manual steps.
UnReloadDetachSelectedXrefs_vs.02
β The final result is a productivity-focused AutoCAD and Civil 3D xref management plugin that centralizes DWG xrefs, raster images, file paths, reference status, preview, export, diagnostics, and cleanup actions in one interface. It reduces repetitive manual work, improves external reference quality control, helps detect missing or incorrect paths, supports faster project setup, improves drawing organization, and gives CAD users a more reliable workflow for managing complex Civil 3D and AutoCAD drawings.
UnReloadDetachSelectedXrefs_01
Result Running UnReloadDetachSelectedXrefs opens a dialog where the user can safely batch-manage xrefs without manually selecting drawing entities. The user can unload, reload, or detach xrefs, convert attach type between Attached and Overlay, zoom to xref inserts, and save or load repeatable xref lists. Saved lists are plain text and can be reused to recreate or standardize xref setups, including layer assignment and units control during attach operations. Tags Lisp, Xrefs, Dialog_UI, DCL, Layers, UCS, WCS, Coordinate_Systems, Model Space Suggest relevant tags not in the above list File_IO, Batch_Processing, Path_ManagementText2Multileader_01
Result- A new MLEADER is created at the specified leader points, containing the combined text content and an assigned text width based on the widest selected text object.
- The selected LINE or POLYLINE used for leader points is deleted after successful leader creation.
- The originally selected TEXT or MTEXT entities are deleted after successful leader creation.
- Tags: Mleader, Leader, Text, Mtext, Polyline, Coordinates, CAD, General_AutoCAD, Dimnesions Leader.
- Suggested relevant tags not in the list: Annotation, Cleanup, Automation.

SetPublishLocation_01
Result- User can quickly standardize plotting configuration per layout, then verify lock, annotation visibility, and zoom status at a glance inside one dialog.
- Important behavior: Zoom status shows ZExt only when applied by Zoom Extents, otherwise it shows Z question mark.
- Tags: CAD, Lisp, Plot, Layouts, Paper Space, Viewports, DCL, Dialog_UI, Plot_Device, Page_Setup, Paper_Size, General_AutoCAD.
- Suggested tags not in provided list: Batch_Apply, Viewport_Lock, Annotation_Visibility, Zoom_Tools, Plot_Standardization.

DuplicateLayouts_01
Tags- Layouts, DCL, Dialog_UI, General_AutoCAD, Extra_AutoCAD, Lisp
- Undo or UndoMark grouping
- Naming or UniqueName generation
- Batch duplication workflow

CreatesXrefsLayersAssign_01
Result- Standardizes XREF organization by enabling consistent per-XREF target layers using a prefix strategy.
- Provides a fast way to force all XREFs onto a single existing layer for audits, plotting, or temporary coordination workflows.
- Improves visibility with a live Current Layer column and synchronized selections across all lists.
- Prevents silent failures by safely handling locked layers during reassignment.
- Accelerates navigation with ZoomXref using precise ActiveX ZoomWindow extents.

Slope_01
Result / Output: β’ Geometry: One MTEXT entity per labeled segment (or per 2-point pair), placed at the segment midpoint, offset a fixed distance along the normal, rotated to match the segment angle. β’ Text content: Formatted slope string (with prefix/suffix) and, if enabled, a line break followed by the formatted angle string. β’ Visual style: Uses the current text style, current layer, and the user-selected text height & width factor for consistent appearance in the drawing. β’ User feedback: Command line messages confirm each created label and indicate when invalid or zero-length segments are skipped. Overall, running slope_p produces clear, customizable slope/angle MTEXT annotations along your design geometry with minimal repetitive work.
ToolbarManager
Result: Your AutoCAD toolbars are updated so that only the toolbars selected in the current filtered view are visible, while all other toolbars in that view are hidden, giving you a clean, customized toolbar layout. β’ Faster workspace management: You can switch between different toolbar sets in seconds, without editing the CUI or manually toggling individual toolbars on and off. β’ Reduced clutter: Unused toolbars are easily hidden based on simple filters and group selections, improving available screen space and focus on your current task. β’ Repeatable setups: Because the manager remembers your last view, it is easy to revisit and refine the same toolbar configuration throughout a project session. β’ Clear feedback: The list preselection shows which toolbars are visible before and after applying, and a short message confirms when toolbars have been updated. Copy code:Slope_00
β’ Precise slope labels β TEXT entities created at midpoint, rotated along slope line β’ Formatted exactly as selected β %, H:V, V:H, H:V decimal, or V:H decimal β’ Correct sign & scaling β Reflects positive or negative slope and custom scaling factors β’ Safe & consistent β Covers extreme cases (vertical/horizontal) with stable output β’ Reusable workflow β Settings persist per session, enabling repetitive point-pair labeling with consistencyCloseParalelPolylines
β’ Geometric result Produces one polyline formed from the two originals plus two connectors β’ Drawing cleanup Converts parallel or open shapes into a single clean polyline ready for editing β’ Environment safety All system variables restored to previous values
DuplicateLayouts_00
- If the user clicks OK, each selected layout is duplicated the specified number of times and new layouts are created with incremented suffix names.
- If the user cancels, no layouts are duplicated and the routine exits after removing the temporary DCL file.
- Always unloads the dialog and deletes the generated DCL file after closing the UI.
- If the dialog fails to load, prints DCL failed. and exits without changes.

DB_Planung_GelΓ€nde
Result: After configuring and running the tool, your drawing gains Planum or Gelaende profile labels that show distance and elevation at chosen points along the band, using consistent layers, text styles, and offsets defined in the dialog. β’ Consistent annotation: All generated leader lines and texts follow a unified standard for layers, styles, color, text height, and numeric formatting across the project. β’ Saved project settings: The INI file keeps the last used mode and values so subsequent runs in the same drawing start with familiar, project specific defaults instead of factory defaults. β’ Guided workflow: Users see graphical help and clear dialog structure, making it easier to configure complex Planum and Gelaende labeling without manually editing many system variables or layer properties. β’ Clean environment: System variables, view states, and temporary layer color changes are restored at the end, and the tool leaves the drawing in a predictable state ready for further work. Copy code:
CubeDisplay_Off_On
Result: After running the command, the Navigation Cube will reappear on screen, fully refreshed and responsive. This is especially helpful when the cube becomes invisible after workspace changes, viewport switching, or 3D navigation glitches.Page Tag: π·οΈ Autocad Lisps β status
