<?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: Print multiple window in model space in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11638698#M10568</link>
    <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14801"&gt;@Ed__Jobe&lt;/a&gt;&amp;nbsp;: if possible, you should present these contents in ModelSpace in mutiple Layouts, so that any CAD user can easily print them with "Publish" command. No need to re-invent the wheel (for such a regular Acad operation). It is also very easy to use Publish API (which you have already found) to print them, as if it is done manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is certainly doable entirely by code, using either PlotEngine, or Publish API. But in your case (assume all the rectangle area are in the same size), it might be easier to code by:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. identify the rectangle size (height, width, center) and the quantity of the rectangles&lt;/P&gt;
&lt;P&gt;2. create a layer for each rectangle and open a viewport to present the rectangle in proper scale&lt;/P&gt;
&lt;P&gt;3. SAVE THE DRAWING (it is required before you can run Publish API code to print these layout&lt;/P&gt;
&lt;P&gt;4. Write code to use Publish API to print. You can (and have already) find plenty of code samples of this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The good outcome of this is that now you have the layouts created to present these rectangles, and they can easily be printed/published later by any CAD user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 15:58:13 GMT</pubDate>
    <dc:creator>Norman_Yuan</dc:creator>
    <dc:date>2022-12-23T15:58:13Z</dc:date>
    <item>
      <title>Print multiple window in model space</title>
      <link>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11635585#M10566</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;At model space, I would like to print out to pdf the multiple drawing as the photo below, and merge to one file pdf after finish. The points of windows is&amp;nbsp;diagonal blue line.&lt;/P&gt;&lt;P&gt;1. I try follow instruction by Kean :&amp;nbsp;&lt;A href="https://www.keanw.com/2007/10/plotting-a-wind.html" target="_blank"&gt;https://www.keanw.com/2007/10/plotting-a-wind.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But just only made 1 pdf per time. If I put it into loop but error at CreatePublishEngine().or&amp;nbsp;pe.BeginPlot(ppd, null);&lt;/P&gt;&lt;P&gt;2. Any ideal to merge all into 1 pdf after finish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BIM_VIET_0-1671684692386.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1155199i6A5BD12E3F006519/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BIM_VIET_0-1671684692386.png" alt="BIM_VIET_0-1671684692386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 04:56:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11635585#M10566</guid>
      <dc:creator>BIM_VIET</dc:creator>
      <dc:date>2022-12-22T04:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Print multiple window in model space</title>
      <link>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11637497#M10567</link>
      <description>&lt;P&gt;As &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@Norman_Yuan&lt;/a&gt; noted in the other thread you replied to, the solution is to use a 3rd party pdf library to combine the sheets into one pdf &lt;EM&gt;after&lt;/EM&gt; they are printed. Otherwise you can just use sheetset manager, but it requires actual sheets to print, not just rectangles in model space. All you would have to do is create a sheet and a single viewport for each plot area.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 21:49:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11637497#M10567</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-12-22T21:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Print multiple window in model space</title>
      <link>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11638698#M10568</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14801"&gt;@Ed__Jobe&lt;/a&gt;&amp;nbsp;: if possible, you should present these contents in ModelSpace in mutiple Layouts, so that any CAD user can easily print them with "Publish" command. No need to re-invent the wheel (for such a regular Acad operation). It is also very easy to use Publish API (which you have already found) to print them, as if it is done manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is certainly doable entirely by code, using either PlotEngine, or Publish API. But in your case (assume all the rectangle area are in the same size), it might be easier to code by:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. identify the rectangle size (height, width, center) and the quantity of the rectangles&lt;/P&gt;
&lt;P&gt;2. create a layer for each rectangle and open a viewport to present the rectangle in proper scale&lt;/P&gt;
&lt;P&gt;3. SAVE THE DRAWING (it is required before you can run Publish API code to print these layout&lt;/P&gt;
&lt;P&gt;4. Write code to use Publish API to print. You can (and have already) find plenty of code samples of this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The good outcome of this is that now you have the layouts created to present these rectangles, and they can easily be printed/published later by any CAD user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 15:58:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11638698#M10568</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2022-12-23T15:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Print multiple window in model space</title>
      <link>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11638727#M10569</link>
      <description>&lt;P&gt;No problem, use this -&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://www.kdmsoft.net/revers.html" target="_blank" rel="noopener"&gt;Revers&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;In the program, click "Publish to PDF", a multi-sheet one file will be created.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 16:22:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/print-multiple-window-in-model-space/m-p/11638727#M10569</guid>
      <dc:creator>maratovich</dc:creator>
      <dc:date>2022-12-23T16:22:28Z</dc:date>
    </item>
  </channel>
</rss>

