{"id":5820,"date":"2024-11-28T10:40:57","date_gmt":"2024-11-28T05:10:57","guid":{"rendered":"https:\/\/thedesignsense.com\/cadpower\/?p=5820"},"modified":"2024-11-28T10:40:59","modified_gmt":"2024-11-28T05:10:59","slug":"draw-a-polyline-by-joining-points-in-sorted-order-cp_sortedpoly-cadpower-command","status":"publish","type":"post","link":"https:\/\/thedesignsense.com\/cadpower\/draw-a-polyline-by-joining-points-in-sorted-order-cp_sortedpoly-cadpower-command\/","title":{"rendered":"Draw a Polyline by Joining Points in Sorted Order: CP_SORTEDPOLY \u2013 CADPower Command"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>The <strong>CP_SORTEDPOLY<\/strong> command in <strong>CADPower <\/strong>allows users to create polylines by automatically sorting and connecting points in a specified order. This tool is particularly useful for generating structured paths, grids, or profiles based on coordinate sorting, and it supports both 2D and 3D polylines.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong> CADPower -&gt; Draw Tools -&gt; Rule &#8211; Based -&gt;&nbsp;Draw a polyline by joining points in sorted order<\/strong><\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe title=\"GeoTools Tutorials: Draw a polyline by joining points in a sorted order | SMARTSORT | GT_SORTEDPOLY\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/rEiH7peJ-9E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><figcaption class=\"wp-element-caption\"><strong>CADPower -&gt; Draw Tools -&gt; Rule &#8211; Based -&gt;&nbsp;Draw a polyline by joining points in sorted order<\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe title=\"Draw a polyline by joining points in sorted order -- CADPower &amp; GeoTools\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/8G3B7t74sSY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><figcaption class=\"wp-element-caption\"><strong>CADPower -&gt; Draw Tools -&gt; Rule &#8211; Based -&gt;&nbsp;Draw a polyline by joining points in sorted order<\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"477\" height=\"261\" src=\"https:\/\/thedesignsense.com\/cadpower\/wp-content\/uploads\/2024\/11\/image-73.png\" alt=\"\" class=\"wp-image-6513\" srcset=\"https:\/\/thedesignsense.com\/cadpower\/wp-content\/uploads\/2024\/11\/image-73.png 477w, https:\/\/thedesignsense.com\/cadpower\/wp-content\/uploads\/2024\/11\/image-73-300x164.png 300w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><figcaption class=\"wp-element-caption\">Draw a Polyline by Joining Points in Sorted Order: CP_SORTEDPOLY \u2013 CADPower Command<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Key features include:<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Sort Order Options:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Increasing X Values:<\/strong> Connect points in ascending order of their X-coordinates.<\/li>\n\n\n\n<li><strong>Increasing Y Values:<\/strong> Connect points in ascending order of their Y-coordinates.<\/li>\n\n\n\n<li><strong>Decreasing X Values:<\/strong> Connect points in descending order of their X-coordinates.<\/li>\n\n\n\n<li><strong>Decreasing Y Values:<\/strong> Connect points in descending order of their Y-coordinates.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Multiple Polylines (SMART SORT):<\/strong>\n<ul class=\"wp-block-list\">\n<li>Option to create multiple polylines by grouping points intelligently, rather than connecting them into a single continuous line.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>3D Polyline Creation:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Read Elevation Values:<\/strong> Extract elevation values directly from text content associated with points, enabling the creation of 3D polylines for terrain or elevation modeling.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Versatile Applications:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Generate precise polylines based on spatial sorting, ideal for tasks like contour creation, grid generation, or structural layouts.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>User-Friendly Interface:<\/strong>\n<ul class=\"wp-block-list\">\n<li>A straightforward dialog box with clearly defined options for sorting and additional features like elevation handling.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Use Case:<\/h4>\n\n\n\n<p>This command is perfect for CAD professionals working in surveying, topographic mapping, and construction layout design, where organizing and connecting spatial points is crucial for creating accurate polylines in both 2D and 3D.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary The CP_SORTEDPOLY command in CADPower allows users to create polylines by automatically sorting and connecting points in a specified order. This tool is particularly useful for generating structured paths, grids, or profiles based on coordinate sorting, and it supports both 2D and 3D polylines. CADPower -&gt; Draw Tools -&gt; Rule &#8211; Based -&gt;&nbsp;Draw a polyline by joining points in sorted order Key features include: Use Case: This command is perfect for CAD professionals working in surveying, topographic mapping, and construction layout design, where organizing and connecting spatial points is crucial for creating accurate polylines in both 2D and 3D.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[23],"tags":[25,253,252],"class_list":["post-5820","post","type-post","status-publish","format-standard","hentry","category-cadpower-commands","tag-cadpower-command","tag-cp_sortedpoly","tag-draw-a-polyline-by-joining-points-in-sorted-order"],"_links":{"self":[{"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/posts\/5820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/comments?post=5820"}],"version-history":[{"count":5,"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/posts\/5820\/revisions"}],"predecessor-version":[{"id":6514,"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/posts\/5820\/revisions\/6514"}],"wp:attachment":[{"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/media?parent=5820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/categories?post=5820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedesignsense.com\/cadpower\/wp-json\/wp\/v2\/tags?post=5820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}