All_inside

Short description

🧩 All_inside provides the WPS command for selecting drawing objects located inside selected circles and lightweight polylines.
🪟 The routine builds Window Polygon selection boundaries from each selected bounding object and combines the detected interior objects into the final selection set.
📦 After selection the user can optionally create an AutoCAD group containing the bounding objects and the objects found inside them.

Image 000 31

Command:

Main command: WPS

Description:

⭕ For a selected circle the routine approximates the circular Window Polygon boundary with 90 points at four degree intervals.
📐 For a selected LWPOLYLINE the routine sends its DXF group 10 vertices to the AutoCAD WP selection option.
🔗 Results from multiple bounding circles and polylines are accumulated into the active selection set.
➕ The selected boundary objects themselves are added to the resulting set.
📦 The final prompt offers Yes or No for creating an AutoCAD group from the complete set.
🧭 The source comments reference CADStudio CADforum and a CADTutor discussion about selecting objects inside multiple polylines.

Helper function: (if any)​

SELECT with the WP option performs the inside selection.
polar generates circle boundary points.
ssget and ssadd build and combine selection sets.
.-GROUP creates the optional final group.

Functionalities:

✅ Multiple boundary selection – accepts more than one circle or lightweight polyline.
✅ Inside object selection – uses AutoCAD Window Polygon selection to find contained objects.
✅ Circle boundary approximation – builds a 90 point polygon around each selected circle.
✅ Polyline boundary support – uses LWPOLYLINE vertices as the polygon boundary.
✅ Combined result selection – merges objects found inside all selected boundaries.
✅ Boundary inclusion – keeps the bounding circles and polylines in the final selected set.
✅ Optional group creation – offers creation of an AutoCAD group from the resulting set.

Result:

🎯 The result is one active selection set containing the chosen boundaries and objects found inside them.
📦 The user can optionally preserve the complete selection as an AutoCAD group.

Images, animations etc.

Image 000 31
Image 001 17
Pixel

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="All_inside">
        <src:RibbonToolTip.ExpandedContent>
            <StackPanel>
                <TextBlock Background="AntiqueWhite" TextAlignment="Left">
				<Bold>Function Syntax: WPS</Bold>
<LineBreak/>
<Bold>Version: 1.0 Date: 28.03.2024 2:27:36PM</Bold>
				<LineBreak/>
				<Hyperlink>https://www.cadtutor.net/forum/topic/65729-select-multiple-polylines-and-all-objectstext-within-them/</Hyperlink>
				<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Description</Run></Bold><LineBreak/>
<Run Foreground="White">🧩 All_inside provides the WPS command for selecting drawing objects located inside selected circles and lightweight polylines.</Run><LineBreak/>
<Run Foreground="White">🪟 The routine builds Window Polygon selection boundaries from each selected bounding object and combines the detected interior objects into the final selection set.</Run><LineBreak/>
<Run Foreground="White">📦 After selection the user can optionally create an AutoCAD group containing the bounding objects and the objects found inside them.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Function Syntax</Run></Bold><LineBreak/>
<Run Foreground="White">Main command: </Run><Bold><Run Foreground="Orange">WPS</Run></Bold><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">SEO Optimized Overview</Run></Bold><LineBreak/>
<Run Foreground="White">⭕ For a selected circle the routine approximates the circular Window Polygon boundary with 90 points at four degree intervals.</Run><LineBreak/>
<Run Foreground="White">📐 For a selected LWPOLYLINE the routine sends its DXF group 10 vertices to the AutoCAD WP selection option.</Run><LineBreak/>
<Run Foreground="White">🔗 Results from multiple bounding circles and polylines are accumulated into the active selection set.</Run><LineBreak/>
<Run Foreground="White">➕ The selected boundary objects themselves are added to the resulting set.</Run><LineBreak/>
<Run Foreground="White">📦 The final prompt offers Yes or No for creating an AutoCAD group from the complete set.</Run><LineBreak/>
<Run Foreground="White">🧭 The source comments reference CADStudio CADforum and a CADTutor discussion about selecting objects inside multiple polylines.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Primary Workflow</Run></Bold><LineBreak/>
<Run Foreground="White">1. Run WPS.</Run><LineBreak/>
<Run Foreground="White">2. Select one or more bounding CIRCLE or LWPOLYLINE objects.</Run><LineBreak/>
<Run Foreground="White">3. Each boundary is translated into a Window Polygon selection.</Run><LineBreak/>
<Run Foreground="White">4. Objects located inside the boundaries are collected.</Run><LineBreak/>
<Run Foreground="White">5. The boundary objects are added to the final selection set.</Run><LineBreak/>
<Run Foreground="White">6. Choose whether the complete selection should be converted into an AutoCAD group.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="LimeGreen">Functionalities</Run></Bold><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Multiple boundary selection</Run></Bold><Run Foreground="White"> - accepts more than one circle or lightweight polyline.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Inside object selection</Run></Bold><Run Foreground="White"> - uses AutoCAD Window Polygon selection to find contained objects.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Circle boundary approximation</Run></Bold><Run Foreground="White"> - builds a 90 point polygon around each selected circle.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Polyline boundary support</Run></Bold><Run Foreground="White"> - uses LWPOLYLINE vertices as the polygon boundary.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Combined result selection</Run></Bold><Run Foreground="White"> - merges objects found inside all selected boundaries.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Boundary inclusion</Run></Bold><Run Foreground="White"> - keeps the bounding circles and polylines in the final selected set.</Run><LineBreak/>
<Run Foreground="White">✅ </Run><Bold><Run Foreground="LimeGreen">Optional group creation</Run></Bold><Run Foreground="White"> - offers creation of an AutoCAD group from the resulting set.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Important Commands and Aspects</Run></Bold><LineBreak/>
<Run Foreground="White">🧩 </Run><Run Foreground="Orange">SELECT with the WP option performs the inside selection.</Run><LineBreak/>
<Run Foreground="White">🧩 </Run><Run Foreground="Orange">polar generates circle boundary points.</Run><LineBreak/>
<Run Foreground="White">🧩 </Run><Run Foreground="Orange">ssget and ssadd build and combine selection sets.</Run><LineBreak/>
<Run Foreground="White">🧩 </Run><Run Foreground="Orange">.-GROUP creates the optional final group.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DodgerBlue">Result</Run></Bold><LineBreak/>
<Run Foreground="White">🎯 The result is one active selection set containing the chosen boundaries and objects found inside them.</Run><LineBreak/>
<Run Foreground="White">📦 The user can optionally preserve the complete selection as an AutoCAD group.</Run><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="DarkRed">Important Notes</Run></Bold><LineBreak/>
<Run Foreground="White">⚠️ </Run><Bold><Run Foreground="DarkRed">Only CIRCLE and LWPOLYLINE objects can be used as bounding objects by the current filter.</Run></Bold><LineBreak/>
<Run Foreground="White">⚠️ </Run><Bold><Run Foreground="DarkRed">Circle selection uses a 90 segment approximation rather than a mathematically continuous circular crossing boundary.</Run></Bold><LineBreak/>
<Run Foreground="White">⚠️ </Run><Bold><Run Foreground="DarkRed">The LWPOLYLINE workflow uses stored vertices and does not add extra tessellation points for curved bulge segments.</Run></Bold><LineBreak/>
<Run Foreground="White">⚠️ </Run><Bold><Run Foreground="DarkRed">The routine temporarily changes OSMODE and CMDECHO while processing.</Run></Bold><LineBreak/>
<LineBreak/>
<Bold><Run Foreground="Yellow">SEO Keywords</Run></Bold><LineBreak/>
<Run Foreground="Yellow">🏷️ AutoCAD, 🏷️ Civil 3D, 🏷️ AutoLISP, 🏷️ WPS, 🏷️ Select inside polyline, 🏷️ Select inside circle, 🏷️ Window Polygon, 🏷️ WP selection, 🏷️ Selection set, 🏷️ AutoCAD group, 🏷️ CAD productivity</Run><LineBreak/>

</TextBlock>
            
<Grid>
<Image Source="Image_000.png" Stretch="Uniform"/>
</Grid>

<Grid>
<Image Source="Image_001.png" Stretch="Uniform"/>
</Grid>

                
<!-- Use MediaElement for GIF (static first frame) and Image as fallback -->

</StackPanel>
        </src:RibbonToolTip.ExpandedContent>
    </src:RibbonToolTip>
</ResourceDictionary>

Share this page:

Leave a Reply

Page Tag: 🏷️ CAD Productivity

  • All_inside

    Short description🧩 All_inside provides the WPS command for selecting drawing objects located inside selected circles and lightweight polylines. 🪟 The routine builds Window Polygon selection boundaries from each selected bounding object and combines the detected interior objects into the final selection set. 📦 After selection the user can optionally create an AutoCAD group containing the…

  • AnnoAllOff

    Short description🔇 AnnoAllOff is an AutoCAD and Civil 3D AutoLISP utility that sets ANNOALLVISIBLE to 0 for selected Model/Layout tabs through a DCL picker. 🎛️ It helps users turn off global annotative visibility per tab while keeping control over which layouts are updated. Command:🚀 Main command: AAOFF 🎛️ Dialog title: ANNOALLVISIBLE -> 0 (Choose Tabs)…

  • SelectLayout

    Short description📑 SelectLayout is an AutoCAD and Civil 3D AutoLISP layout selector that displays all paper space layouts in a DCL dialog. ⚡ It helps users jump directly to the required layout tab without scrolling through many tabs manually. Command:🚀 Main command: SelectLayout 🧰 Opens a DCL list of paper space layouts and switches AutoCAD…

  • GoToLayout

    Short description📑 GoToLayout is an AutoCAD and Civil 3D AutoLISP navigation utility for quickly switching to layout tabs through a filtered DCL dialog. 🔍 It supports wildcard layout searches, preview switching while browsing, Previous and Next navigation, and cancel-safe restoration of the original tab. Command:🚀 Main command: GoToLayout 🧰 Load the LSP file with APPLOAD,…

  • Copy2Layouts

    Short description📄 Copy2Layouts is an AutoCAD and Civil 3D AutoLISP utility for copying selected objects from the current drawing to multiple paper-space layouts from one DCL dialog. 🔍 It adds a wildcard layout filter, Select All / Select None, total selected object count, and VLA CopyObjects automation for faster sheet layout replication. Command:🚀 Main command:…

  • LayoutNum

    LayoutNum

    Short description🔢 LayoutNum is an AutoCAD and Civil 3D AutoLISP layout renumbering utility with a DCL interface, preview list, Apply, safe multi-level Undo, OK, and Cancel workflow. 📑 It helps rename selected layout tabs using starting numbers, padding width, prefix, suffix, order modes, filters, and automatic conflict resolution. Command:🚀 Main command: LAYOUTNUM 🔁 Alias command:…

  • Zoom Extend

    Short description🔎 Zoom_Extend is an AutoCAD and Civil 3D AutoLISP utility for running Zoom Extents on selected layout tabs from a DCL interface. 📑 It helps clean up paper space view display across multiple sheets without manually opening every layout. Command:🚀 Main command: LZE 🔎 Opens a DCL layout selector to run Zoom Extents on…

  • FreezeLayersInVP

    FreezeLayersInVP

    Short description❄️ FreezeLayersInVP is an AutoCAD and Civil 3D AutoLISP layer-control utility for freezing selected current and xref layers in viewport workflows. 🧊 It provides a DCL layer browser with filters, xref selection, layer-status columns, and VPLAYER-based freezing for selected layer names. Command:🚀 Main command: FreezeLayersInVP 🔁 Alias command: FLVP 🧰 Load the LSP file…

  • CopyPaste2BasePoint

    Short description📋 CopyPaste2BasePoint is an AutoCAD AutoLISP productivity tool for copying selected drawing objects with a fixed base point at 0,0,0 and pasting clipboard content back at the same origin-based coordinate. Command:🚀 Main commands: – Copy2BasePoint: selects drawing entities and runs AutoCAD COPYBASE using 0,0,0 as the base point. – PasteBasePoint: runs AutoCAD PASTECLIP using…

  • RenameBlockPreview

    Short descriptionRenameBlockPreview is an AutoCAD and Civil 3D AutoLISP utility for renaming block definitions through a clean DCL dialog with live filtering, duplicate-name protection, a selected-block preview indicator, and remembered dialog settings. Command:RenBlocks Description:RenameBlockPreview provides a dialog-based block rename workflow for AutoCAD drawings. The command RenBlocks opens a temporary self-contained DCL interface, lists valid block…