<?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: Changing MLeaderStyle - annotation scale. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944495#M49271</link>
    <description>&lt;P&gt;Then digg dipper to this article:&lt;A target="_self" href="http://through-the-interface.typepad.com/through_the_interface/2011/05/calling-unexposed-objectarx-methods-using-pinvoke-from-net.html" title="Mleader annoscale"&gt;Thanks to Kean Walmsley&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jun 2013 08:35:34 GMT</pubDate>
    <dc:creator>Hallex</dc:creator>
    <dc:date>2013-06-02T08:35:34Z</dc:date>
    <item>
      <title>Changing MLeaderStyle - annotation scale.</title>
      <link>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944488#M49270</link>
      <description>&lt;P&gt;Hello Forum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have code that changes the MLeaderStyle property of a MLeader object.&lt;/P&gt;&lt;P&gt;When I run the code, the current annotation scale is added to the MLeader and set as current. I don't want this to happen, but this happens automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what could cause this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MLeader objMLeader;
DBDictionary dbdMLStyles;
string strMLeaderStyleNew;
...
objMLeader.UpgradeOpen();
objMLeader.MLeaderStyle = (ObjectId)dbdMLStyles[strMLeaderStyleNew];
objMLeader.DowngradeOpen();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2013 06:54:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944488#M49270</guid>
      <dc:creator>Ertqwa</dc:creator>
      <dc:date>2013-06-02T06:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Changing MLeaderStyle - annotation scale.</title>
      <link>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944495#M49271</link>
      <description>&lt;P&gt;Then digg dipper to this article:&lt;A target="_self" href="http://through-the-interface.typepad.com/through_the_interface/2011/05/calling-unexposed-objectarx-methods-using-pinvoke-from-net.html" title="Mleader annoscale"&gt;Thanks to Kean Walmsley&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2013 08:35:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944495#M49271</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2013-06-02T08:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing MLeaderStyle - annotation scale.</title>
      <link>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944566#M49272</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The article did not solve my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Until I find out what the problem is, &amp;nbsp;I will check if the current annotation scale is assigned to the object before I edit it. If not, remove it afterwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ty for the reply.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2013 12:48:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changing-mleaderstyle-annotation-scale/m-p/3944566#M49272</guid>
      <dc:creator>Ertqwa</dc:creator>
      <dc:date>2013-06-02T12:48:32Z</dc:date>
    </item>
  </channel>
</rss>

