<?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 Betreff: a scr file can execute a list of same commands only in one scr file. in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938284#M62575</link>
    <description>&lt;P&gt;I missunderstood your question, sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A: You can use 100 different commands 1000 times in ONE script, no problem.&lt;/P&gt;
&lt;P&gt;But why do you asking? TRY IT first, if further questions: Ask.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your other thread I know that scripts are still very foreign to you,&lt;BR /&gt;start with small things, step by step and you'll quickly get a better idea!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the current color, check your help, &lt;A href="https://help.autodesk.com/view/ACD/2021/ENU/?guid=GUID-703858E3-9038-406A-B499-90A0C05BECBF" target="_blank" rel="noopener"&gt;variable CECOLOR, controle the current color setting.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;type in CECOLOR and press enter&lt;/P&gt;
&lt;P&gt;Acad shows the &amp;lt;current&amp;gt; Color and ask for a new Color to set current.&lt;/P&gt;
&lt;P&gt;type in your color and press enter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looks like&lt;/P&gt;
&lt;P&gt;Command: CECOLOR&lt;/P&gt;
&lt;P&gt;Enter new value for CECOLOR &amp;lt;"BYLAYER"&amp;gt;: 50&lt;/P&gt;
&lt;P&gt;Command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;quick check:&lt;/P&gt;
&lt;P&gt;Command: CECOLOR&lt;/P&gt;
&lt;P&gt;Enter new value for CECOLOR &amp;lt;"50"&amp;gt;:&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;yearh, it works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the same in your Script now, so the script will have 3 lines, the last one is empty:&lt;/P&gt;
&lt;P&gt;CECOLOR&amp;lt;press enter for a newline/linebreak&amp;gt;&lt;/P&gt;
&lt;P&gt;50&amp;lt;press enter for a newline/linebreak&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;save the file as SetCurrentColor50.scr&lt;/P&gt;
&lt;P&gt;and start your script by command SCRIPT or Drag&amp;amp;Drop the file into your DrawingEditor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Circle sample&lt;/P&gt;
&lt;P&gt;CIRCLE&amp;lt;enter&amp;gt;&lt;/P&gt;
&lt;P&gt;50,50&amp;lt;enter&amp;gt;&lt;/P&gt;
&lt;P&gt;10&amp;lt;enter&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you can write all together in one script to create a circle in color50 at 50,50ucs with r10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(my samples attached, change file extensions from .txt to .scr after download)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 08:11:53 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2022-02-09T08:11:53Z</dc:date>
    <item>
      <title>a scr file can execute a list of same commands only in one scr file.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938131#M62572</link>
      <description>&lt;P&gt;a scr file can execute a list of same commands only in one scr file. but not different commands in one scr file.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;is it correct&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 06:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938131#M62572</guid>
      <dc:creator>KOTARAMMOHANR</dc:creator>
      <dc:date>2022-02-09T06:31:38Z</dc:date>
    </item>
    <item>
      <title>Betreff: a scr file can execute a list of same commands only in one scr file.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938177#M62573</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this was true for decades, and if you talk about script-command,&lt;/P&gt;
&lt;P&gt;but take a look to &lt;A href="https://help.autodesk.com/view/ACD/2021/ENU/?guid=GUID-77FF5E24-4ECD-41D6-BD8A-9DD5AAD468EE" target="_blank" rel="noopener"&gt;command scriptcall&lt;/A&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 07:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938177#M62573</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-02-09T07:03:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: a scr file can execute a list of same commands only in one scr file.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938213#M62574</link>
      <description>&lt;P&gt;i need one clarity that can we execute two different commands like drawing a line and drawing a cirle both in one scipt file&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 07:30:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938213#M62574</guid>
      <dc:creator>KOTARAMMOHANR</dc:creator>
      <dc:date>2022-02-09T07:30:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: a scr file can execute a list of same commands only in one scr file.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938284#M62575</link>
      <description>&lt;P&gt;I missunderstood your question, sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A: You can use 100 different commands 1000 times in ONE script, no problem.&lt;/P&gt;
&lt;P&gt;But why do you asking? TRY IT first, if further questions: Ask.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your other thread I know that scripts are still very foreign to you,&lt;BR /&gt;start with small things, step by step and you'll quickly get a better idea!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the current color, check your help, &lt;A href="https://help.autodesk.com/view/ACD/2021/ENU/?guid=GUID-703858E3-9038-406A-B499-90A0C05BECBF" target="_blank" rel="noopener"&gt;variable CECOLOR, controle the current color setting.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;type in CECOLOR and press enter&lt;/P&gt;
&lt;P&gt;Acad shows the &amp;lt;current&amp;gt; Color and ask for a new Color to set current.&lt;/P&gt;
&lt;P&gt;type in your color and press enter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looks like&lt;/P&gt;
&lt;P&gt;Command: CECOLOR&lt;/P&gt;
&lt;P&gt;Enter new value for CECOLOR &amp;lt;"BYLAYER"&amp;gt;: 50&lt;/P&gt;
&lt;P&gt;Command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;quick check:&lt;/P&gt;
&lt;P&gt;Command: CECOLOR&lt;/P&gt;
&lt;P&gt;Enter new value for CECOLOR &amp;lt;"50"&amp;gt;:&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;yearh, it works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the same in your Script now, so the script will have 3 lines, the last one is empty:&lt;/P&gt;
&lt;P&gt;CECOLOR&amp;lt;press enter for a newline/linebreak&amp;gt;&lt;/P&gt;
&lt;P&gt;50&amp;lt;press enter for a newline/linebreak&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;save the file as SetCurrentColor50.scr&lt;/P&gt;
&lt;P&gt;and start your script by command SCRIPT or Drag&amp;amp;Drop the file into your DrawingEditor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Circle sample&lt;/P&gt;
&lt;P&gt;CIRCLE&amp;lt;enter&amp;gt;&lt;/P&gt;
&lt;P&gt;50,50&amp;lt;enter&amp;gt;&lt;/P&gt;
&lt;P&gt;10&amp;lt;enter&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you can write all together in one script to create a circle in color50 at 50,50ucs with r10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(my samples attached, change file extensions from .txt to .scr after download)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 08:11:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/a-scr-file-can-execute-a-list-of-same-commands-only-in-one-scr/m-p/10938284#M62575</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-02-09T08:11:53Z</dc:date>
    </item>
  </channel>
</rss>

