<?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: List of MLine Styles in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224953#M16809</link>
    <description>&lt;LI-CODE lang="csharp"&gt; using (Transaction acTrans = acCurDb.TransactionManager.StartTransaction())
            {
                DBDictionary acLyrTbl;
                acLyrTbl = acTrans.GetObject(acCurDb.MLStyleDictionaryId,
                                             OpenMode.ForRead) as DBDictionary;

                foreach (var acObjId in acLyrTbl)
                {
                    MlineStyle acLyrTblRec;
                    acLyrTblRec = acTrans.GetObject(acObjId.Value,
                                                    OpenMode.ForRead) as MlineStyle;

                    acDoc.Editor.WriteMessage("\n" + acLyrTblRec.Name);
                }

            }&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 09 Apr 2021 13:38:38 GMT</pubDate>
    <dc:creator>xaotix</dc:creator>
    <dc:date>2021-04-09T13:38:38Z</dc:date>
    <item>
      <title>List of MLine Styles</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224827#M16807</link>
      <description>&lt;P&gt;How can I get the list of loaded mline styles at specific drawing?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 12:38:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224827#M16807</guid>
      <dc:creator>xaotix</dc:creator>
      <dc:date>2021-04-09T12:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: List of MLine Styles</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224917#M16808</link>
      <description>&lt;P&gt;You open MLStyleDictionary via Database.MLStyleDictinaryId, and loop through each DBDictionaryEntry, the key of the entry is the MLStyle's name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:07:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224917#M16808</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2021-04-09T13:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: List of MLine Styles</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224953#M16809</link>
      <description>&lt;LI-CODE lang="csharp"&gt; using (Transaction acTrans = acCurDb.TransactionManager.StartTransaction())
            {
                DBDictionary acLyrTbl;
                acLyrTbl = acTrans.GetObject(acCurDb.MLStyleDictionaryId,
                                             OpenMode.ForRead) as DBDictionary;

                foreach (var acObjId in acLyrTbl)
                {
                    MlineStyle acLyrTblRec;
                    acLyrTblRec = acTrans.GetObject(acObjId.Value,
                                                    OpenMode.ForRead) as MlineStyle;

                    acDoc.Editor.WriteMessage("\n" + acLyrTblRec.Name);
                }

            }&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:38:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-mline-styles/m-p/10224953#M16809</guid>
      <dc:creator>xaotix</dc:creator>
      <dc:date>2021-04-09T13:38:38Z</dc:date>
    </item>
  </channel>
</rss>

