<?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: load dsd file and publish to pdf in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/load-dsd-file-and-publish-to-pdf/m-p/12301186#M7009</link>
    <description>&lt;P&gt;So it was simple. Just load the dsd with ReadDsd and Publish with the plotter of choice&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string dsdFilePath = @"C:\Users\path.dsd"; 
if (File.Exists(dsdFilePath)) 
{ 
using (DsdData dsdDataFile = new DsdData()) 
{ 
dsdDataFile.ReadDsd(dsdFilePath); 
PlotConfig acPlCfg = PlotConfigManager.SetCurrentConfig("DWG to PDF.PC3"); //or another 
Application.Publisher.PublishExecute(dsdDataFile, acPlCfg); 
} 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2023 10:13:57 GMT</pubDate>
    <dc:creator>nicola_confortoXF9ZU</dc:creator>
    <dc:date>2023-10-12T10:13:57Z</dc:date>
    <item>
      <title>load dsd file and publish to pdf</title>
      <link>https://forums.autodesk.com/t5/net-forum/load-dsd-file-and-publish-to-pdf/m-p/12301145#M7008</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a dll in c# for AutoCAD 2020 and I have a 2D Model (Plan) with multiple pages. I have created a dsd-file that has all the information I need: plot syle, plotter, print size and "What to plot: window". I need to plot every single page to PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to load the dsd and publsh everything. Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 09:48:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/load-dsd-file-and-publish-to-pdf/m-p/12301145#M7008</guid>
      <dc:creator>nicola_confortoXF9ZU</dc:creator>
      <dc:date>2023-10-12T09:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: load dsd file and publish to pdf</title>
      <link>https://forums.autodesk.com/t5/net-forum/load-dsd-file-and-publish-to-pdf/m-p/12301186#M7009</link>
      <description>&lt;P&gt;So it was simple. Just load the dsd with ReadDsd and Publish with the plotter of choice&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string dsdFilePath = @"C:\Users\path.dsd"; 
if (File.Exists(dsdFilePath)) 
{ 
using (DsdData dsdDataFile = new DsdData()) 
{ 
dsdDataFile.ReadDsd(dsdFilePath); 
PlotConfig acPlCfg = PlotConfigManager.SetCurrentConfig("DWG to PDF.PC3"); //or another 
Application.Publisher.PublishExecute(dsdDataFile, acPlCfg); 
} 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 10:13:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/load-dsd-file-and-publish-to-pdf/m-p/12301186#M7009</guid>
      <dc:creator>nicola_confortoXF9ZU</dc:creator>
      <dc:date>2023-10-12T10:13:57Z</dc:date>
    </item>
  </channel>
</rss>

