<?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 Raster Plot draworder problem - PNG in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/raster-plot-draworder-problem-png/m-p/3718070#M52203</link>
    <description>&lt;P&gt;I have a program that plots all blocks to png - open a dwg, get a list of all blocks, insert each into an empty dwg, zoom extents, and plot using the OOTB PublishToWeb PNG.pc3.&amp;nbsp; In the attachments is an example of the problem.&amp;nbsp; When I do this manually from a layout, I get the correct image.&amp;nbsp; When I plot from code using the same PC3 file, draworder is being ignored.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works if I apply transparency to the block and use ps.PlotTransparency = True, but I would prefer not to have to tell the user to change the block definitions.&amp;nbsp; Is&amp;nbsp;there a plotsettings property I am missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2012 18:31:05 GMT</pubDate>
    <dc:creator>fieldguy</dc:creator>
    <dc:date>2012-11-30T18:31:05Z</dc:date>
    <item>
      <title>Raster Plot draworder problem - PNG</title>
      <link>https://forums.autodesk.com/t5/net-forum/raster-plot-draworder-problem-png/m-p/3718070#M52203</link>
      <description>&lt;P&gt;I have a program that plots all blocks to png - open a dwg, get a list of all blocks, insert each into an empty dwg, zoom extents, and plot using the OOTB PublishToWeb PNG.pc3.&amp;nbsp; In the attachments is an example of the problem.&amp;nbsp; When I do this manually from a layout, I get the correct image.&amp;nbsp; When I plot from code using the same PC3 file, draworder is being ignored.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works if I apply transparency to the block and use ps.PlotTransparency = True, but I would prefer not to have to tell the user to change the block definitions.&amp;nbsp; Is&amp;nbsp;there a plotsettings property I am missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 18:31:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/raster-plot-draworder-problem-png/m-p/3718070#M52203</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2012-11-30T18:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Plot draworder problem - PNG</title>
      <link>https://forums.autodesk.com/t5/net-forum/raster-plot-draworder-problem-png/m-p/3725960#M52204</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I searched our database to see any such reported behavior, but could not find any.&lt;/P&gt;
&lt;P&gt;I guess the block’s draw order table isn’t refreshed for some reason when you create the drawing while it gets refreshed when you plot it manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may try these to see if it resolves :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open the DrawOrderTable of the block (block.DrawOrderTableId) for write in a transaction and then commit the transaction. &amp;nbsp;This can cause the draw order table to refresh and possibly set the right draw order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify if the block in the new drawing has the right relative draw order of its entities using “DrawOrderTable. GetRelativeDrawOrder”&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help, can you please provide a small reproducible sample project and a drawing for me to try?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:33:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/raster-plot-draworder-problem-png/m-p/3725960#M52204</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2012-12-06T16:33:47Z</dc:date>
    </item>
  </channel>
</rss>

