Function Syntax: MultiOffsetBothSidesWithLayerExtra / MOBSWLE / MOBSWLEDOCK / MOBSWLEUNDOCK / OLPredefinedProfiles / OLDebug Version: 1.0 Date: 04.08.2026 1:05:15PM AI Description 🧩 MultiOffsetBothSidesWithLayer is the M_07 C# AutoCAD and Civil 3D offset project for generating structured left and right parallel geometry from selected centerline objects. 🎛️ The current project uses a modeless WinForms interface with profiles pipe counts left and right offsets extra ducts target layers closing centerline source handling live preview Apply and Undo last controls. 📦 The current source build number is 1.0.006 and the physical Visual Studio project name is shortened to MOBSWLE. Function Syntax Main command: MultiOffsetBothSidesWithLayerExtra Alias: MOBSWLE Dock: MOBSWLEDOCK Undock: MOBSWLEUNDOCK Predefined profiles: OLPredefinedProfiles Diagnostics: OLDebug SEO Optimized Overview 📚 The profile store contains Schutzrohr DN110 Schutzrohr DN160 cable channel KK and DN bundle profile groups. 🔢 Pipe Count controls the planned repeated pipe or duct boundary offsets. ↔️ Offset L and Offset R provide independent left and right distances. ➕ Extra L and Extra R add additional parallel offsets outside the main planned boundaries. 📍 Starting point represents supports Centerline Offset Up Left Offset Down Right and Schutzrohr Exterior modes in the settings model. 🗂️ Place on layer assigns generated geometry to a selected target layer and LayerManager can create the layer using profile color linetype and lineweight. 🔗 Close into single polyline connects and joins the left and right result pair when applicable. ➗ Create centerline polyline builds a midpoint centerline on _HILFSLINIEN. 🧯 Schutzrohr profiles can generate pipe centerline helper geometry on _HILFSLINIEN. 🗑️ Delete original object allows the picked source geometry to be erased after Apply. 👁️ Live AutoCAD transient preview uses the same OffsetPlan model as the final Apply workflow. ✅ Apply commits the generated geometry and records created entity and original source state. ↩️ Undo last erases the entities created by the latest Apply and restores source layers and erased source objects. 💾 UI preferences and profile data are persisted in XML files under the user AppData MultiOffsetBothSidesWithLayerExtra folder. ⊞ The modeless form can be docked into an AutoCAD PaletteSet and undocked back to a floating form. Primary Workflow • NETLOAD the compiled MOBSWLE DLL. • Run MOBSWLE or MultiOffsetBothSidesWithLayerExtra. • Pick one or more source centerline objects. • Choose the profile group and profile. • Set pipe count Offset L Offset R and any extra left or right counts. • Choose starting point interpretation target layer close centerline and delete source options. • Review the live transient model space preview. • Click Apply to create the actual geometry. • Use Undo last when the most recent Apply must be reverted. • Dock or undock the modeless interface when required. Functionalities Profile based offsets - uses configurable Schutzrohr KK and DN profile definitions. Independent left and right offsets - supports different boundary distances. Pipe count planning - creates structured repeated duct or pipe geometry. Extra ducts - adds additional left and right parallel offsets. Four start modes - interprets the picked source as centerline left edge right edge or Schutzrohr exterior. Target layer assignment - creates or assigns output geometry to selected layers. Profile layer styling - supports profile color linetype and lineweight when creating layers. Linetype fallback loading - attempts acadiso.lin then acad.lin before Continuous fallback. Parallel close and join - closes one left and right pair into a single polyline when enabled. Centerline helper - creates averaged centerline geometry on _HILFSLINIEN. Schutzrohr centerlines - creates pipe centerline helper offsets for Schutzrohr profiles. Delete original - can erase selected source objects after generation. Live transient preview - shows planned offsets in model space before Apply. Apply - commits all planned geometry in one processing run. Undo last - restores the latest Apply through explicit entity tracking. Persistent profiles - stores profiles and group checkbox defaults in XML. Persistent UI preferences - stores window position size splitters selected profile target layer and preview zoom. Docking support - provides floating and PaletteSet hosted interface modes. Diagnostic commands - includes profile management and debug entry points. Important Commands and Aspects 🧩 OffsetPlan calculates pipe boundaries extras and start shift from RunSettings. 🧩 OffsetEngine generates offsets closes pairs creates centerlines and tracks changes. 🧩 OffsetRunResult stores created ids original layers and erased source state for Undo last. 🧩 ProfileStore manages built in and user saved profile configuration. 🧩 ModelSpacePreviewController manages transient preview graphics. 🧩 LayerManager creates target layers and resolves missing linetypes. Result 🎯 The result is a structured set of parallel offset geometry based on the selected engineering profile and object interpretation. 📐 Depending on options the output can include duct boundaries extra offsets one closed outer polyline helper centerlines and target layer assignment. Important Notes ⚠️ The user identifies M_07 as MultiOffsetBothSidesWithLayer. ⚠️ The current source namespace and primary long command include the Extra suffix while MOBSWLE is the short command alias. ⚠️ The current build number in VersionInfo.cs is 1.0.006. ⚠️ The RunSettings model contains TwoPoints SelectCenterlines and ChangeExisting modes but the visible MainForm workflow is centered on Pick objects auto detect and the available implementation should be tested before documenting every enum value as a complete user workflow. ⚠️ The project uses standard AutoCAD database geometry APIs and does not require Civil 3D specific API calls for its core offset engine. SEO Keywords 🏷️ AutoCAD, 🏷️ Civil 3D, 🏷️ C#, 🏷️ MultiOffsetBothSidesWithLayer, 🏷️ MOBSWLE, 🏷️ Multiple offset, 🏷️ Schutzrohr, 🏷️ Cable channel, 🏷️ DN bundle, 🏷️ Parallel polylines, 🏷️ Centerline, 🏷️ Live preview, 🏷️ Apply, 🏷️ Undo, 🏷️ Profiles, 🏷️ Layer management