<?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: Automatic GATTE fonction, always the same errors in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123585#M6917</link>
    <description>&lt;P&gt;GATTE is an express tools function and looking at the help files on it it is written in AutoLISP. You can only do a command call on AutoCAD commands with the built in interpreter. You will need to use the line (c:GATTE) to use it.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2024 03:39:54 GMT</pubDate>
    <dc:creator>ryanatkins49056</dc:creator>
    <dc:date>2024-11-01T03:39:54Z</dc:date>
    <item>
      <title>Automatic GATTE fonction, always the same errors</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123574#M6916</link>
      <description>&lt;P&gt;Hi! I'm trying to create an automatic GATTE function with a preset BlockName and Attribute, but I keep getting the same errors. Can anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Here the function:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(defun C:ChangeAttribute ()&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (vl-load-com)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (setq blkName "ABC")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (setq attTag "TEST")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (setq newValue (getstring "\nEnter the new attribute value: "))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; (princ (strcat "\nBlock Name: " blkName))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (princ (strcat "\nAttribute Tag: " attTag))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (princ (strcat "\nNew Value: " newValue))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; (command "._-GATTE" "_N" blkName attTag newValue)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; (princ "\nAttribute modification completed.")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; (princ)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;I always get these errors, no matter what I do:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Command: CHANGEATTRIBUTE&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Enter the new attribute value: Please&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Block Name: ABC&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Attribute Tag: TEST&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;New Value: Please._-GATTE Unknown command "-GATTE". Press F1 for help.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Command: _N Unknown command "N". Press F1 for help.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Command: ABC Unknown command "ABC". Press F1 for help.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Command: TEST Unknown command "TEST". Press F1 for help.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Command: Please Unknown command "PLEASE". Press F1 for help."&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 03:26:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123574#M6916</guid>
      <dc:creator>billyVSHJP</dc:creator>
      <dc:date>2024-11-01T03:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic GATTE fonction, always the same errors</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123585#M6917</link>
      <description>&lt;P&gt;GATTE is an express tools function and looking at the help files on it it is written in AutoLISP. You can only do a command call on AutoCAD commands with the built in interpreter. You will need to use the line (c:GATTE) to use it.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 03:39:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123585#M6917</guid>
      <dc:creator>ryanatkins49056</dc:creator>
      <dc:date>2024-11-01T03:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic GATTE fonction, always the same errors</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123669#M6918</link>
      <description>&lt;P&gt;Here's a related post which you may find of interests:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/pass-arguments-to-quot-c-quot-commands/m-p/12781744" target="_blank"&gt;Re: Pass arguments to "c:" commands - Autodesk Community - AutoCAD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also you may want to try the code here which allows for you to pass your 3 arguments:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-can-t-get-gatte-to-work-in-lisp/m-p/774582/highlight/true#M240" target="_blank"&gt;Re: i can't get gatte to work in lisp.. - Autodesk Community - AutoCAD&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(AttEd blkName attTag newValue)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 05:31:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13123669#M6918</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-11-01T05:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic GATTE fonction, always the same errors</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13126622#M6919</link>
      <description>&lt;P&gt;Oh! Thanks!&lt;BR /&gt;I'll have to take an other way! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 02:37:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13126622#M6919</guid>
      <dc:creator>billyVSHJP</dc:creator>
      <dc:date>2024-11-03T02:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic GATTE fonction, always the same errors</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13126625#M6920</link>
      <description>&lt;P&gt;Many thanks for your help&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;!&lt;BR /&gt;Yes that really help. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 02:40:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13126625#M6920</guid>
      <dc:creator>billyVSHJP</dc:creator>
      <dc:date>2024-11-03T02:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic GATTE fonction, always the same errors</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13126628#M6921</link>
      <description>&lt;P&gt;you are welcome...cheers!!!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 02:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-gatte-fonction-always-the-same-errors/m-p/13126628#M6921</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-11-03T02:48:30Z</dc:date>
    </item>
  </channel>
</rss>

