<?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>tema Re: selecting objects from commands and through scripts en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10426927#M1055586</link>
    <description>&lt;P&gt;I imagine it would involve saving each Spline as a variable after it is drawn:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws a Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (setq spline1 (entlast))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws the next Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (setq spline2 (entlast))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you would have a distinct variable name for each Spline, which you could use in LOFT commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you always need to Loft between &lt;EM&gt;adjacent Splines&lt;/EM&gt; in the sequence of generating them, you could have &lt;EM&gt;one&lt;/EM&gt;&amp;nbsp;such variable:&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws a Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (setq spline1 (entlast))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws the next Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (command "_.loft"&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;... use the spline1 variable and (entlast) ...&lt;/FONT&gt;&lt;/EM&gt;)&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;and repeat.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jun 2021 18:19:56 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2021-06-28T18:19:56Z</dc:date>
    <item>
      <title>selecting objects from commands and through scripts</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10425946#M1055560</link>
      <description>&lt;P&gt;I am trying to write a script which generates a set of spline curves in 3D space passing through a set of points. Once these splines are generated, I want to select two curves at a time and create a lofted surface between these two curves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can select these curves with the help of mouse. However, I want to automate the whole process and do it using scripts. Can anyone help me understand how to select a particular object in my autocad drawing simply through commands and without the use of mouse at all?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 12:03:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10425946#M1055560</guid>
      <dc:creator>hardikyp</dc:creator>
      <dc:date>2021-06-28T12:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: selecting objects from commands and through scripts</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10426927#M1055586</link>
      <description>&lt;P&gt;I imagine it would involve saving each Spline as a variable after it is drawn:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws a Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (setq spline1 (entlast))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws the next Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (setq spline2 (entlast))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you would have a distinct variable name for each Spline, which you could use in LOFT commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you always need to Loft between &lt;EM&gt;adjacent Splines&lt;/EM&gt; in the sequence of generating them, you could have &lt;EM&gt;one&lt;/EM&gt;&amp;nbsp;such variable:&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws a Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (setq spline1 (entlast))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;{whatever draws the next Spline}&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (command "_.loft"&amp;nbsp; &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;... use the spline1 variable and (entlast) ...&lt;/FONT&gt;&lt;/EM&gt;)&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;and repeat.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 18:19:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10426927#M1055586</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-06-28T18:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: selecting objects from commands and through scripts</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10428899#M1055725</link>
      <description>Thank you very much! That solved my problem</description>
      <pubDate>Tue, 29 Jun 2021 11:08:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/selecting-objects-from-commands-and-through-scripts/m-p/10428899#M1055725</guid>
      <dc:creator>hardikyp</dc:creator>
      <dc:date>2021-06-29T11:08:07Z</dc:date>
    </item>
  </channel>
</rss>

