<?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: Linetype - How to catch errors in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3325251#M57318</link>
    <description>&lt;P&gt;or, with reference to the example from the developers guide, open the linetypetable and check whether linetypetable.has(linetype). in addition to reverting to any particular linetype - which may be perfectly fine - you can check for alternative linetypes and/or load a particular linetype file.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2012 15:47:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-09T15:47:58Z</dc:date>
    <item>
      <title>Linetype - How to catch errors</title>
      <link>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3323657#M57316</link>
      <description>&lt;P&gt;When I load the linetype file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'' Load the Center Linetype&lt;BR /&gt;acCurDb.LoadLineTypeFile(sLineTypeName, gstrc_SFR_LineType_FullFileName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I detect if the linetype is in the Linetype file? How do I do my error checking here in the ACAD way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I just search the acad.lin or sfr.lin Text File to see if the LineType Exists. This works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I was curious how would you check the linetype file via the Acad API,&lt;/P&gt;&lt;P&gt;to see if the linetype definition name exists in the file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 18:35:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3323657#M57316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-08T18:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype - How to catch errors</title>
      <link>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3324133#M57317</link>
      <description>&lt;P&gt;Try/catch, resorting to the CONTINUOUS linetype hard-coded into AutoCAD in the event an error is thrown.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 23:00:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3324133#M57317</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2012-02-08T23:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype - How to catch errors</title>
      <link>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3325251#M57318</link>
      <description>&lt;P&gt;or, with reference to the example from the developers guide, open the linetypetable and check whether linetypetable.has(linetype). in addition to reverting to any particular linetype - which may be perfectly fine - you can check for alternative linetypes and/or load a particular linetype file.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/linetype-how-to-catch-errors/m-p/3325251#M57318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-09T15:47:58Z</dc:date>
    </item>
  </channel>
</rss>

