<?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 Command Line to select Linetype en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9828911#M1034372</link>
    <description>&lt;P&gt;I want to select a Linetype via the Command Line.&lt;/P&gt;&lt;P&gt;I enter "-linetype load acad_ISO02w100"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AutoCAD responds with...&lt;/P&gt;&lt;P&gt;Command: -linetype&lt;BR /&gt;Current line type: "ByLayer"&lt;BR /&gt;Enter an option [?/Create/Load/Set]: load&lt;BR /&gt;Enter linetype(s) to load: acad_ISO02w100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I hit enter a Window appears for me to select a file.&amp;nbsp; - acad.lin etc.&lt;/P&gt;&lt;P&gt;I don't want to see the Window&lt;/P&gt;&lt;P&gt;If selecting a file, I want to do it via Command Line.&lt;/P&gt;&lt;P&gt;Something like "-linetype load acad_ISO02w100 acad.lin"&amp;nbsp; , But it does not work&lt;/P&gt;&lt;P&gt;I am a novice, so be kind.....&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2020 04:29:21 GMT</pubDate>
    <dc:creator>orders3</dc:creator>
    <dc:date>2020-10-28T04:29:21Z</dc:date>
    <item>
      <title>Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9828911#M1034372</link>
      <description>&lt;P&gt;I want to select a Linetype via the Command Line.&lt;/P&gt;&lt;P&gt;I enter "-linetype load acad_ISO02w100"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AutoCAD responds with...&lt;/P&gt;&lt;P&gt;Command: -linetype&lt;BR /&gt;Current line type: "ByLayer"&lt;BR /&gt;Enter an option [?/Create/Load/Set]: load&lt;BR /&gt;Enter linetype(s) to load: acad_ISO02w100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I hit enter a Window appears for me to select a file.&amp;nbsp; - acad.lin etc.&lt;/P&gt;&lt;P&gt;I don't want to see the Window&lt;/P&gt;&lt;P&gt;If selecting a file, I want to do it via Command Line.&lt;/P&gt;&lt;P&gt;Something like "-linetype load acad_ISO02w100 acad.lin"&amp;nbsp; , But it does not work&lt;/P&gt;&lt;P&gt;I am a novice, so be kind.....&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 04:29:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9828911#M1034372</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2020-10-28T04:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9828946#M1034374</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7879053"&gt;@orders3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking to load the .lin file via the command line then you can set the variable "FILEDIA" to "0". Type in the command "FILEDIA" and set it to "0" doing so would suppress all the dialog boxes and display it only in command line. You need to provide the location of the .lin file in the command line&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@38DF24EF580240D512020314976B5FC8/emoticons/1f642.png" alt=":cara_con_una_leve_sonrisa:" title=":cara_con_una_leve_sonrisa:" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinodkl_0-1603861547347.png" style="width: 720px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/837284iBC51F0EE61A778E6/image-dimensions/720x317?v=v2" width="720" height="317" role="button" title="vinodkl_0-1603861547347.png" alt="vinodkl_0-1603861547347.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 05:06:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9828946#M1034374</guid>
      <dc:creator>vinodkl</dc:creator>
      <dc:date>2020-10-28T05:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9829699#M1034401</link>
      <description>&lt;P&gt;+1 with &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2855596"&gt;@vinodkl&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when you're done with the linetype stuff, if you want File Select Dialog windows to pop up with other commands that would "normally" use them, be sure to set it back to 1 when you're done. An alternative is to keep the FileDia setting at "off" and then learn (teach yourself) to use the tilde key (~, upper-left of keyboard), followed by &amp;lt;Enter&amp;gt;, to bring them up when prompted to select a file on the commandline.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 12:35:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9829699#M1034401</guid>
      <dc:creator>dmfrazier</dc:creator>
      <dc:date>2020-10-28T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Betreff: Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9829784#M1034410</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7879053"&gt;@orders3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have the solution from Vinodkl.&lt;/P&gt;
&lt;P&gt;For working in your commandline by hand set FileDia=0&lt;/P&gt;
&lt;P&gt;If you create a macro or script it wouldn't appears and act how you want it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(if (tblobjname "LTYPE" "ACAD_ISO02w100")
    (command "_.-linetype" "_load" "ACAD_ISO02w100" "acad.lin" "_yes" "")  
    (command "_.-linetype" "_load" "ACAD_ISO02w100" "acad.lin" "")  
)&lt;/LI-CODE&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;Filedia is actually only for working by hand in the command line,&lt;BR /&gt;in automations such as Macro, Script or (send) command&lt;BR /&gt;it would be unnecessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's good for trying it out in the command line, but otherwise it wouldn't actually be necessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT: There are some commands that AutoDesk stored incorrectly.&lt;BR /&gt;In automations, the command line version is usually used&lt;BR /&gt;of a command and the standard file selection dialogs as a command line version.&lt;/P&gt;
&lt;P&gt;Incorrect behavior of an AutoCAD command, example:&lt;BR /&gt;The PDFIMPORT command has a command line version of -PDFIMPORT&lt;BR /&gt;Start the command in macro / script / (send) command&lt;BR /&gt;PDFIMPORT, then -PDFIMPORT is not started as it would otherwise be standard,&lt;BR /&gt;the file selection dialog box also appears (&lt;U&gt;also with Filedia 0&lt;/U&gt;).&lt;/P&gt;
&lt;P&gt;This is where Autodesk deviates from its own standards.&lt;BR /&gt;But if you start -PDFIMPORT it is then as written before,&lt;BR /&gt;FILEDIA is irrelevant in automatically called commands.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 13:04:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9829784#M1034410</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-10-28T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Betreff: Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9832372#M1034545</link>
      <description>&lt;P&gt;Worked perfectly. THANKS....&lt;/P&gt;&lt;P&gt;One more question:&lt;/P&gt;&lt;P&gt;How can I end an AutoCAD Command without having to manually hit Enter?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Would like to see a blank Command Line after the following&lt;/P&gt;&lt;P&gt;-linetype Set "ACAD_ISO03w100"&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 13:39:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9832372#M1034545</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2020-10-29T13:39:27Z</dc:date>
    </item>
    <item>
      <title>Betreff: Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9832414#M1034548</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7879053"&gt;@orders3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;How can I end an AutoCAD Command without having to manually hit Enter?&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;Would like to see a blank Command Line after the following&lt;/P&gt;
&lt;P&gt;-linetype Set "ACAD_ISO03w100"&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If that's a command macro, put a &lt;FONT color="#FF0000"&gt;semicolon&lt;/FONT&gt;&amp;nbsp;[= Enter] at the end [after either a semicolon or space to "register" the linetype name entry]:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;-linetype Set "ACAD_ISO03w100" &lt;FONT size="4" color="#FF0000"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR, if you're not using LT, you can do it this way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(setvar 'celtype&amp;nbsp;"ACAD_ISO03w100")&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 13:56:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9832414#M1034548</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-10-29T13:56:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: Command Line to select Linetype</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9832459#M1034553</link>
      <description>&lt;P&gt;Use alwas semicolon in macros, thats the better choice.&lt;/P&gt;
&lt;P&gt;In Scrips is it a linebreak/newline&lt;/P&gt;
&lt;P&gt;In Lisp (command is it ""&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Back to your&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 14:22:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-to-select-linetype/m-p/9832459#M1034553</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-10-29T14:22:20Z</dc:date>
    </item>
  </channel>
</rss>

