<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858516#M159760</link>
    <description>Thank you very much, this looks like the answer.&lt;BR /&gt;
&lt;BR /&gt;
R. Robert Bell wrote in message &amp;lt;896u6j$2i518@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;You might be making this harder than it needs to be. I have a routine that&lt;BR /&gt;
&amp;gt;does just that, and all I did was perform a distance command, like so:</description>
    <pubDate>Mon, 28 Feb 2000 12:01:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2000-02-28T12:01:35Z</dc:date>
    <item>
      <title>repost - point selection similar to stretch command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858511#M159755</link>
      <description>How can I form a collection of points (ie: end points of existing objects)&lt;BR /&gt;
in a manner similar to how the stretch command does?&lt;BR /&gt;
&lt;BR /&gt;
Unlike the stretch command, I would like to be able to continue adding&lt;BR /&gt;
to the collection using either window or individual point selection until&lt;BR /&gt;
I have completed the collection.&lt;BR /&gt;
&lt;BR /&gt;
I am using AM2K with Windows NT.&lt;BR /&gt;
&lt;BR /&gt;
tia for help</description>
      <pubDate>Fri, 25 Feb 2000 14:09:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858511#M159755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-25T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: repost - point selection similar to stretch command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858512#M159756</link>
      <description>How about using "select" command.&lt;BR /&gt;
&lt;BR /&gt;
Sal Brusco &lt;SBRUSCO&gt; wrote in message&lt;BR /&gt;
news:89626n$r8s15@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; How can I form a collection of points (ie: end points of existing objects)&lt;BR /&gt;
&amp;gt; in a manner similar to how the stretch command does?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Unlike the stretch command, I would like to be able to continue adding&lt;BR /&gt;
&amp;gt; to the collection using either window or individual point selection until&lt;BR /&gt;
&amp;gt; I have completed the collection.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I am using AM2K with Windows NT.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; tia for help&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/SBRUSCO&gt;</description>
      <pubDate>Fri, 25 Feb 2000 14:40:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858512#M159756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-25T14:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: repost - point selection similar to stretch command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858513#M159757</link>
      <description>I saw the first post and would gladly have responded with whatever I know,&lt;BR /&gt;
but I couldn't comprehend what you are trying to do.  I was hoping someone&lt;BR /&gt;
else would understand it and help you.&lt;BR /&gt;
&lt;BR /&gt;
Maybe you could explain further?&lt;BR /&gt;
--&lt;BR /&gt;
=  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =&lt;BR /&gt;
"Guaranteed not to rust, bust, collect dust, rip,&lt;BR /&gt;
ravel, sling gravel, or stink in the summertime."&lt;BR /&gt;
=  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =&lt;BR /&gt;
Chuck Wheat     cwheat233@yahoo.com&lt;BR /&gt;
=  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =</description>
      <pubDate>Fri, 25 Feb 2000 15:04:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858513#M159757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-25T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858514#M159758</link>
      <description>Chuck Wheat wrote in message &amp;lt;8965ld$bt9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;Maybe you could explain further?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
Sorry for not being clear on this post, but the idea was clear in my mind&lt;BR /&gt;
and I forgot you guys only appear to be supernatural. Let me give it another&lt;BR /&gt;
try.&lt;BR /&gt;
&lt;BR /&gt;
My company is moving from an unsupported CAD system (VisionAEL) to AutoCAD.&lt;BR /&gt;
One command that vael had, called the distance command, allows you to pick&lt;BR /&gt;
two points and in turn, place a temporary dimension on the drawing&lt;BR /&gt;
(horizontal, vertical or aligned) and prompts you for a _new_ dimension. If&lt;BR /&gt;
you enter a distance other than what was between the two selected points,&lt;BR /&gt;
you are then asked to select any additional points that should move. Then&lt;BR /&gt;
vael would 'stretch' all the points to accommodate the new dimension while&lt;BR /&gt;
constraining movement to be parallel with the dimension. The first point&lt;BR /&gt;
selected is always the anchor point and the second point is stretched along&lt;BR /&gt;
with any additional points you select, not restricted to the most recent&lt;BR /&gt;
selection but allowing you to continue adding and deleting points from the&lt;BR /&gt;
collection until complete.&lt;BR /&gt;
&lt;BR /&gt;
As you can imagine, this is a very useful command, used by our engineers&lt;BR /&gt;
_very_ much, and they want the same functionality in acad.&lt;BR /&gt;
&lt;BR /&gt;
Here is the problem. If I were collecting objects, I could collect them in a&lt;BR /&gt;
selection set. But I'm only interested in end points of objects similar to&lt;BR /&gt;
the way the stretch command collects points because, in effect, I will&lt;BR /&gt;
programmatically initiate the stretch command once I have determined which&lt;BR /&gt;
points I want to 'move'.&lt;BR /&gt;
&lt;BR /&gt;
Desired effect:&lt;BR /&gt;
1. The collection should start with the second point of the initial&lt;BR /&gt;
dimension.&lt;BR /&gt;
2. Points should be able to be selected one-at-a-time by selecting points&lt;BR /&gt;
_or_ by windowing like in the stretch command.&lt;BR /&gt;
3. I want to be able to add and remove points as the spirit moves me (or as&lt;BR /&gt;
the engineers want.)&lt;BR /&gt;
&lt;BR /&gt;
Sorry if I'm now too verbose but maybe the original question will make more&lt;BR /&gt;
sense now.&lt;BR /&gt;
&lt;BR /&gt;
tia for your responses, but i won't be able to reply again until Monday.</description>
      <pubDate>Fri, 25 Feb 2000 21:36:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858514#M159758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-25T21:36:42Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858515#M159759</link>
      <description>You might be making this harder than it needs to be. I have a routine that&lt;BR /&gt;
does just that, and all I did was perform a distance command, like so:&lt;BR /&gt;
&lt;BR /&gt;
 (initget 1) ; disallow null input&lt;BR /&gt;
 (setq PT1 (getpoint "\nBase point: ")) ; get the base point&lt;BR /&gt;
 (initget 1) ; disallow null input&lt;BR /&gt;
 (setq PT2 (getpoint PT1 "\nOther point: "))&lt;BR /&gt;
 (setvar "cmdecho" 1) ; turn echo on&lt;BR /&gt;
 (command ".dist" PT1 PT2) ; show user the dist of PT1-PT2&lt;BR /&gt;
 (setvar "cmdecho" 0) ; turn echo off&lt;BR /&gt;
&lt;BR /&gt;
then ask if that is ok. If the user hits &lt;ENTER&gt;, INP is nil, otherwise they&lt;BR /&gt;
selected a new distance. If that is so, then do the selection of objects,&lt;BR /&gt;
and stretch in the same direction as the first distance.&lt;BR /&gt;
&lt;BR /&gt;
 (setq INP (getdist "New distance, or &lt;OK&gt;: "))&lt;BR /&gt;
 (if INP ; if input&lt;BR /&gt;
  (progn ; then...&lt;BR /&gt;
   (setq PT2 (polar PT1 (angle PT1 PT2) (- INP (distance PT1 PT2))))&lt;BR /&gt;
   (prompt "\nSelect objects by crossing: ")&lt;BR /&gt;
   (initget 1) ; disallow null input&lt;BR /&gt;
   (setq PT3 (getpoint "\nFirst corner: ")) ; get first point of stretch&lt;BR /&gt;
window&lt;BR /&gt;
   (initget 1) ; disallow null input&lt;BR /&gt;
   (setq PT4 (getcorner PT3 "\nOther corner: ")) ; get other point&lt;BR /&gt;
   (setq OSMode (getvar "OSMode")) ; save running osnaps&lt;BR /&gt;
   (setvar "OSMode" 0) ; clear running osnaps&lt;BR /&gt;
   (command ".select" "c" PT3 PT4 pause) ; allow user to remove entities if&lt;BR /&gt;
req'd&lt;BR /&gt;
   (command ".stretch" "w" PT3 PT4 "p" "" PT1 PT2) ; get entities, do&lt;BR /&gt;
stretch&lt;BR /&gt;
   (setvar "OSMode" OSMode) ; restore running osnaps&lt;BR /&gt;
  ) ; closes progn&lt;BR /&gt;
 ) ; closes if&lt;BR /&gt;
&lt;BR /&gt;
Wrap all that into a (defun) of your choice!&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
(remove the "not." in my address for direct e-mail)&lt;BR /&gt;
&lt;BR /&gt;
Sal Brusco &lt;SBRUSCO&gt; wrote in message&lt;BR /&gt;
news:896se3$2iq17@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; One command that vael had, called the distance command, allows you to pick&lt;BR /&gt;
&amp;gt; two points and in turn, place a temporary dimension on the drawing&lt;BR /&gt;
&amp;gt; (horizontal, vertical or aligned) and prompts you for a _new_ dimension.&lt;BR /&gt;
If&lt;BR /&gt;
&amp;gt; you enter a distance other than what was between the two selected points,&lt;BR /&gt;
&amp;gt; you are then asked to select any additional points that should move.&lt;/SBRUSCO&gt;&lt;/OK&gt;&lt;/ENTER&gt;</description>
      <pubDate>Fri, 25 Feb 2000 22:02:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858515#M159759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-25T22:02:38Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858516#M159760</link>
      <description>Thank you very much, this looks like the answer.&lt;BR /&gt;
&lt;BR /&gt;
R. Robert Bell wrote in message &amp;lt;896u6j$2i518@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;You might be making this harder than it needs to be. I have a routine that&lt;BR /&gt;
&amp;gt;does just that, and all I did was perform a distance command, like so:</description>
      <pubDate>Mon, 28 Feb 2000 12:01:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858516#M159760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-28T12:01:35Z</dc:date>
    </item>
    <item>
      <title>Oops...that was not the answer.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858517#M159761</link>
      <description>Oops&amp;#133;this is _not_ what I wanted.&lt;BR /&gt;
&lt;BR /&gt;
The main problem that I'm faced with is that I want to be able to add and&lt;BR /&gt;
remove points from the 'stretch set', but as you know, if you make multiple&lt;BR /&gt;
crossings in the stretch command, it considers only the most recent&lt;BR /&gt;
crossing.&lt;BR /&gt;
&lt;BR /&gt;
I would really like to have prompts like:&lt;BR /&gt;
Anchor point:&lt;BR /&gt;
Distance point:&lt;BR /&gt;
Select objects:&lt;BR /&gt;
Add/Remove objects:&lt;BR /&gt;
Add/Remove objects:&lt;BR /&gt;
Add/Remove objects:&lt;BR /&gt;
Add/Remove objects:&lt;BR /&gt;
Add/Remove objects:&lt;BR /&gt;
&lt;BR /&gt;
and affect all selected objects this is why I am trying to create the&lt;BR /&gt;
selection set outside of the stretch command. I also realize that I could&lt;BR /&gt;
collect objects but then the result would not be like a stretch but rather a&lt;BR /&gt;
move, and I still want to be able to effect, for instance, only one end&lt;BR /&gt;
point of an arc or a line.&lt;BR /&gt;
&lt;BR /&gt;
R. Robert Bell wrote in message &amp;lt;896u6j$2i518@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;You might be making this harder than it needs to be. I have a routine that&lt;BR /&gt;
&amp;gt;does just that, and all I did was perform a distance command, like so:</description>
      <pubDate>Mon, 28 Feb 2000 12:34:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858517#M159761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-28T12:34:21Z</dc:date>
    </item>
    <item>
      <title>Oops...that was not the answer.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858518#M159762</link>
      <description>Sal - What you're asking for sounds very much&lt;BR /&gt;
like multiple-grip editing. &lt;BR /&gt;
&lt;BR /&gt;
Try this:&lt;BR /&gt;
&lt;BR /&gt;
At the Command prompt, select the objects you &lt;BR /&gt;
want to stretch, then while holding down the &lt;BR /&gt;
shift key, click on each grip point that you &lt;BR /&gt;
want to move. Once you've selected all desired&lt;BR /&gt;
grips, let go of the shift key, click any grip &lt;BR /&gt;
and drag it. All selected grips will move along &lt;BR /&gt;
with the one being dragged.&lt;BR /&gt;
&lt;BR /&gt;
Sal Brusco wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Oops&amp;#133;this is _not_ what I wanted.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; The main problem that I'm faced with is that I want to be able to add and&lt;BR /&gt;
&amp;gt; remove points from the 'stretch set', but as you know, if you make multiple&lt;BR /&gt;
&amp;gt; crossings in the stretch command, it considers only the most recent&lt;BR /&gt;
&amp;gt; crossing.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I would really like to have prompts like:&lt;BR /&gt;
&amp;gt; Anchor point:&lt;BR /&gt;
&amp;gt; Distance point:&lt;BR /&gt;
&amp;gt; Select objects:&lt;BR /&gt;
&amp;gt; Add/Remove objects:&lt;BR /&gt;
&amp;gt; Add/Remove objects:&lt;BR /&gt;
&amp;gt; Add/Remove objects:&lt;BR /&gt;
&amp;gt; Add/Remove objects:&lt;BR /&gt;
&amp;gt; Add/Remove objects:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; and affect all selected objects this is why I am trying to create the&lt;BR /&gt;
&amp;gt; selection set outside of the stretch command. I also realize that I could&lt;BR /&gt;
&amp;gt; collect objects but then the result would not be like a stretch but rather a&lt;BR /&gt;
&amp;gt; move, and I still want to be able to effect, for instance, only one end&lt;BR /&gt;
&amp;gt; point of an arc or a line.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; R. Robert Bell wrote in message &amp;lt;896u6j$2i518@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt; &amp;gt;You might be making this harder than it needs to be. I have a routine that&lt;BR /&gt;
&amp;gt; &amp;gt;does just that, and all I did was perform a distance command, like so:&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/</description>
      <pubDate>Mon, 28 Feb 2000 12:34:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858518#M159762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-28T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Oops...that was not the answer.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858519#M159763</link>
      <description>Sal,&lt;BR /&gt;
&lt;BR /&gt;
At the (command ".select" ...) portion of the program, the pause allows you&lt;BR /&gt;
to do all the entity selection you want. You could use a (prompt&lt;BR /&gt;
"\nAdd/Remove objects: ") right before that to clue the operators. So you&lt;BR /&gt;
can cross one big area, then remove, by crossing, what you don't want.&lt;BR /&gt;
Starting with R14, stretch allowed you to remove by window/crossing, w/o&lt;BR /&gt;
messing up the initial selection.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
(remove the "not." in my address for direct e-mail)&lt;BR /&gt;
&lt;BR /&gt;
Sal Brusco &lt;SBRUSCO&gt; wrote in message&lt;BR /&gt;
news:89dpp4$fo917@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; Oops.this is _not_ what I wanted.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; The main problem that I'm faced with is that I want to be able to add and&lt;BR /&gt;
&amp;gt; remove points from the 'stretch set', but as you know, if you make&lt;BR /&gt;
multiple&lt;BR /&gt;
&amp;gt; crossings in the stretch command, it considers only the most recent&lt;BR /&gt;
&amp;gt; crossing.&lt;/SBRUSCO&gt;</description>
      <pubDate>Mon, 28 Feb 2000 15:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/repost-point-selection-similar-to-stretch-command/m-p/858519#M159763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-28T15:05:53Z</dc:date>
    </item>
  </channel>
</rss>

