<?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: I can't draw using my script file in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842422#M40091</link>
    <description>&lt;P&gt;Hi Paul,&lt;BR /&gt;I think the "C" is for CLOSE. Sang uses CIRCLE for Circle Command.&lt;BR /&gt;Dave&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 14:27:15 GMT</pubDate>
    <dc:creator>Pointdump</dc:creator>
    <dc:date>2023-03-23T14:27:15Z</dc:date>
    <item>
      <title>I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11840915#M40087</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to draw multiple lines and circles using my script file (please see attached. I converted it to .txt b/c the forum does not support .scr format attachment).&lt;/P&gt;&lt;P&gt;However, whenever I try to load the script using the "script" command it will not generate the correct features.&lt;/P&gt;&lt;P&gt;If I input a few lines in the script file directly in the command terminal, the features are correctly drawn but when I copy and paste more than a certain number of lines into the command terminal, AutoCAD will not draw.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 02:30:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11840915#M40087</guid>
      <dc:creator>lee02258</dc:creator>
      <dc:date>2023-03-23T02:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11841166#M40088</link>
      <description>&lt;P&gt;Hi Sang,&lt;BR /&gt;Thanks for posting your SCR file.&lt;BR /&gt;I'm having a hard time wrapping my head around it, but I think it would be best to simplify it. Each line should do just one thing. That way you'll know at what point the wheels are falling off.&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 06:18:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11841166#M40088</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2023-03-23T06:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842322#M40089</link>
      <description>&lt;P&gt;For the Line command after the last coordinate entry add an additional space to finish the command before you start C for the Circle command&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:54:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842322#M40089</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2023-03-23T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842417#M40090</link>
      <description>&lt;P&gt;Turn the osnap OFF !&lt;/P&gt;
&lt;P&gt;Put the OSMODE variable to 0&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:25:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842417#M40090</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2023-03-23T14:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842422#M40091</link>
      <description>&lt;P&gt;Hi Paul,&lt;BR /&gt;I think the "C" is for CLOSE. Sang uses CIRCLE for Circle Command.&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:27:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842422#M40091</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2023-03-23T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842527#M40092</link>
      <description>&lt;P&gt;Anyway, the PGP file is not used by Autocad to execute a script file.... It is necessary to write the original and complete command name.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:53:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842527#M40092</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2023-03-23T14:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842543#M40093</link>
      <description>&lt;P&gt;yes, you are correct. I ran the script file and works perfectly for me...see attached dwg...I wonder why OP has issues?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842543#M40093</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2023-03-23T14:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842661#M40094</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... I ran the script file and works perfectly for me...see attached dwg...I wonder why OP has issues?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It worked for me, too, though [ensuring Osnap is off first] my result is different:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1679584721301.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1192584iD2353422775ECC6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1679584721301.png" alt="Kent1Cooper_0-1679584721301.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;rather than&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;'s result that has multi hundreds of Circles coinciding at a limited number of locations -- maybe there was some Osnap on there [including CENter mode, I suspect].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The weirdest part is that it's all one line!&amp;nbsp; But it seems to work anyway [for me].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[By the way, those 50.000 Circle radii don't need the decimal part -- just plain 50 would do in all cases.&amp;nbsp; Any trailing zeroes in any of the coordinates are pointless.]&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:23:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842661#M40094</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-03-23T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842664#M40095</link>
      <description>&lt;P&gt;Thank you Bertrand! It works now!!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:24:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842664#M40095</guid>
      <dc:creator>lee02258</dc:creator>
      <dc:date>2023-03-23T15:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842685#M40096</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12370776"&gt;@lee02258&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;.... will not generate the correct features.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;.... will not draw.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That combination raises the question:&amp;nbsp; Does "will not generate the correct features" mean &lt;EM&gt;not drawing at all&lt;/EM&gt; [as the second quoted line sort of suggests], or does it draw &lt;EM&gt;something&lt;/EM&gt;, but just not what you expect?&amp;nbsp; If running Osnap is on, depending on Osnap mode and aperture size settings and Zoom level, it could have various kinds of unexpected results.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:29:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842685#M40096</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-03-23T15:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842695#M40097</link>
      <description>&lt;P&gt;You are welcome.&lt;/P&gt;
&lt;P&gt;You may use OSNAPCOORD variable and set it to 1 as an other solution so it won't be a necessity to act on OSMODE&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is in tab n°6 in the options dialog box.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:30:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842695#M40097</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2023-03-23T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842696#M40098</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for testing my script!&lt;/P&gt;&lt;P&gt;When I view your file the circles are overlapping together (see attached) which was happening to me before.&lt;/P&gt;&lt;P&gt;But the script works if I turn off the osnap and run the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sang&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:31:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842696#M40098</guid>
      <dc:creator>lee02258</dc:creator>
      <dc:date>2023-03-23T15:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842716#M40099</link>
      <description>&lt;P&gt;Hi Kent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry about being vague about my wording.&lt;/P&gt;&lt;P&gt;Using the script generated a drawing but it was not what I intended.&lt;/P&gt;&lt;P&gt;After turning off the osnap, the script started to generate the drawing I expected.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sang&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:36:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842716#M40099</guid>
      <dc:creator>lee02258</dc:creator>
      <dc:date>2023-03-23T15:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842798#M40100</link>
      <description>&lt;P&gt;Perhaps a wishlist item for AutoCAD to ignore running osnaps while running scripts&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 16:00:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842798#M40100</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2023-03-23T16:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: I can't draw using my script file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842915#M40101</link>
      <description>&lt;P&gt;No need, there is a setting: OSNAPCOORD.&lt;/P&gt;
&lt;P&gt;Default 2 for Keyboard only&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Value 1 is for automation too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So setup your program to 1,&lt;/P&gt;
&lt;P&gt;easy to write this line to your script first&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 16:39:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/i-can-t-draw-using-my-script-file/m-p/11842915#M40101</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2023-03-23T16:39:19Z</dc:date>
    </item>
  </channel>
</rss>

