<?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: ssget not working with short lines in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806543#M15085</link>
    <description>&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;I have discovered there is a problem with the sample file that is causing the issue but have been unable to resolve this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the lines in the file intlines test.dxf, although having z value 0, are not recognized as intersecting. So, the question becomes, how to flatten this file so that the lines actually intersect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already tried using the flatten command that had some strange results with lines disappearing and I have tried exporting to 12d and then nulling z values and exporting again, but this did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can solve this problem that would be amazing, as I have just had to place points manually (ok on this small file but a waste of time and doesn't scale to larger tasks).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2024 02:51:24 GMT</pubDate>
    <dc:creator>bradley_smithZNDND</dc:creator>
    <dc:date>2024-05-30T02:51:24Z</dc:date>
    <item>
      <title>ssget not working with short lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806419#M15084</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this problem with a scrip that uses ssget.&lt;/P&gt;&lt;P&gt;The script is supposed to find all intersecting lines and place a point at the intersections.&lt;/P&gt;&lt;P&gt;This works well for all intersecting lines I have worked with so far, but the current file I am processing contains&amp;nbsp;&lt;SPAN&gt;many short crosshairs and these lines are not being processed by the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note that when I grab and resize the lines that make up a crosshair, then the script works and places a point at the intersection. Weird!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This could be a fault of ssget or something else.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have attached the script and the file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody please help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 01:10:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806419#M15084</guid>
      <dc:creator>bradley_smithZNDND</dc:creator>
      <dc:date>2024-05-30T01:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: ssget not working with short lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806543#M15085</link>
      <description>&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;I have discovered there is a problem with the sample file that is causing the issue but have been unable to resolve this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the lines in the file intlines test.dxf, although having z value 0, are not recognized as intersecting. So, the question becomes, how to flatten this file so that the lines actually intersect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already tried using the flatten command that had some strange results with lines disappearing and I have tried exporting to 12d and then nulling z values and exporting again, but this did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can solve this problem that would be amazing, as I have just had to place points manually (ok on this small file but a waste of time and doesn't scale to larger tasks).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 02:51:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806543#M15085</guid>
      <dc:creator>bradley_smithZNDND</dc:creator>
      <dc:date>2024-05-30T02:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssget not working with short lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806910#M15086</link>
      <description>&lt;P&gt;You are very far from the 0,0 point.&lt;/P&gt;
&lt;P&gt;That's the probable reason you don't find the intersections with the mouse. Firstly.&lt;/P&gt;
&lt;P&gt;I had (just) a look in the lisp.&lt;/P&gt;
&lt;P&gt;A test between two objetcs at those coordinates and a test with the same close to the general origin should be led.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 07:49:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806910#M15086</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2024-05-30T07:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: ssget not working with short lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806914#M15087</link>
      <description>&lt;P&gt;I did this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(vlax-invoke  (vlax-ename-&amp;gt;vla-object (car(entsel))) 'IntersectWith (vlax-ename-&amp;gt;vla-object (car(entsel)))  0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where your objects are it doesn't work.&lt;/P&gt;
&lt;P&gt;Close to the origin, it does&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Size of your objects : 0.0439999&lt;/P&gt;
&lt;P&gt;Location : 270000,6000000&lt;/P&gt;
&lt;P&gt;Sorry...&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 07:56:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12806914#M15087</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2024-05-30T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: ssget not working with short lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12809215#M15088</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp; tramber!&lt;/P&gt;&lt;P&gt;Haha, what an obvious solution now you mention it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess AutoCAD just doesn't like coordinates so far from the origin (not surprising given how far away they were).&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 05:08:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12809215#M15088</guid>
      <dc:creator>bradley_smithZNDND</dc:creator>
      <dc:date>2024-05-31T05:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssget not working with short lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12809297#M15089</link>
      <description>&lt;P&gt;That's the point. I hit the issue in one shot (due to my experience, age on acad !) but I must say I am a little surprised myself.&lt;/P&gt;
&lt;P&gt;The location is far from O, ok, but not that much...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(looking for an emoji...)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_without_mouth:"&gt;😶&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 06:07:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/ssget-not-working-with-short-lines/m-p/12809297#M15089</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2024-05-31T06:07:15Z</dc:date>
    </item>
  </channel>
</rss>

