<?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: Problem with Hatches and GetSnapshot in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/problem-with-hatches-and-getsnapshot/m-p/5639793#M40028</link>
    <description>&lt;P&gt;Hey everybody.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some further research on the matter. The fact is, that the order defined in the DrawTable is not used. First, I looked up the append order: It is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;MText "3"&lt;/LI&gt;&lt;LI&gt;Polyline&lt;/LI&gt;&lt;LI&gt;Circle&lt;/LI&gt;&lt;LI&gt;MText "M"&lt;/LI&gt;&lt;LI&gt;Hatch Circle&lt;/LI&gt;&lt;LI&gt;Hatch Polyline&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I found the description of how the draw order is determined in the ObjectARX Managed Class Reference Guide (at the DrawOrderTable Class). So I looked for the draw order in the ACAD_SORTENTS Extension Dictionary. It is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Hatch Circle&lt;/LI&gt;&lt;LI&gt;MText "3"&lt;/LI&gt;&lt;LI&gt;Hatch Polyline&lt;/LI&gt;&lt;LI&gt;Polyline&lt;/LI&gt;&lt;LI&gt;Circle&lt;/LI&gt;&lt;LI&gt;MText "M"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So, the "on screen" renderer seems to use the SORTENTS information correctly, but the off screen renderer not (the append order explains why only the circle hatch and the polyline hatch is visible). Is there any setting/property I could set at the view/device/model (???) to get the snapshot in correct draw order?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2015 12:11:16 GMT</pubDate>
    <dc:creator>max.senft</dc:creator>
    <dc:date>2015-05-18T12:11:16Z</dc:date>
    <item>
      <title>Problem with Hatches and GetSnapshot</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-hatches-and-getsnapshot/m-p/5636593#M40027</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got some problem with the View.GetSnapshot method: If I want to get a snapshot of BlockReferences that contain polylines, MTexts, hatches, ... the hatches seem to be drawn always on top:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="test1.png" border="0" alt="test1.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/168632i16E6F0E318C46513/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;The right, broken rendering is the actual BlockReference. The left one is the BlockReference without the hatch. The hatch shall lie behind all other components which are: the surrounding circle, the MText "M", the MText "3" and the sine symbol which consists of a polyline and a hatch that fills that polyline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not find any possibility to get the whole thing rendered correctly, which is really annoying because it is drawn correctly in the AutoCAD GUI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="test1x.png" border="0" alt="test1x.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/168636i9AEA78440EAE01EF/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone out there who can help me? That would be really great! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using AutoCAD 2014 with the ObjectARC .NET API and implemented my method by starting with the help from &lt;A href="http://through-the-interface.typepad.com/through_the_interface/2007/04/taking_a_snapsh.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2007/04/taking_a_snapsh.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2015 12:30:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-hatches-and-getsnapshot/m-p/5636593#M40027</guid>
      <dc:creator>max.senft</dc:creator>
      <dc:date>2015-05-15T12:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Hatches and GetSnapshot</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-hatches-and-getsnapshot/m-p/5639793#M40028</link>
      <description>&lt;P&gt;Hey everybody.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some further research on the matter. The fact is, that the order defined in the DrawTable is not used. First, I looked up the append order: It is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;MText "3"&lt;/LI&gt;&lt;LI&gt;Polyline&lt;/LI&gt;&lt;LI&gt;Circle&lt;/LI&gt;&lt;LI&gt;MText "M"&lt;/LI&gt;&lt;LI&gt;Hatch Circle&lt;/LI&gt;&lt;LI&gt;Hatch Polyline&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I found the description of how the draw order is determined in the ObjectARX Managed Class Reference Guide (at the DrawOrderTable Class). So I looked for the draw order in the ACAD_SORTENTS Extension Dictionary. It is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Hatch Circle&lt;/LI&gt;&lt;LI&gt;MText "3"&lt;/LI&gt;&lt;LI&gt;Hatch Polyline&lt;/LI&gt;&lt;LI&gt;Polyline&lt;/LI&gt;&lt;LI&gt;Circle&lt;/LI&gt;&lt;LI&gt;MText "M"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So, the "on screen" renderer seems to use the SORTENTS information correctly, but the off screen renderer not (the append order explains why only the circle hatch and the polyline hatch is visible). Is there any setting/property I could set at the view/device/model (???) to get the snapshot in correct draw order?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2015 12:11:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-hatches-and-getsnapshot/m-p/5639793#M40028</guid>
      <dc:creator>max.senft</dc:creator>
      <dc:date>2015-05-18T12:11:16Z</dc:date>
    </item>
  </channel>
</rss>

