<?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: 3D PDF in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711292#M11266</link>
    <description>&lt;P&gt;Can you put your code sample and test date here? Without this information we can't help you.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 07:49:53 GMT</pubDate>
    <dc:creator>Michael.Navara</dc:creator>
    <dc:date>2024-04-16T07:49:53Z</dc:date>
    <item>
      <title>3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711259#M11265</link>
      <description>&lt;P&gt;I try to convert .iam file to 3D pdf using Inventor programing Api help but it is not Coverting.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:28:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711259#M11265</guid>
      <dc:creator>manasi_patilESZTV</dc:creator>
      <dc:date>2024-04-16T07:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: 3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711292#M11266</link>
      <description>&lt;P&gt;Can you put your code sample and test date here? Without this information we can't help you.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:49:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711292#M11266</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2024-04-16T07:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: 3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711302#M11267</link>
      <description>&lt;P&gt;the Error is :'Typelib export: Type library is not registered. (Exception from HRESULT: 0x80131165)' In below code at line no 36&amp;nbsp; pdfConvertor3d.Publish(oDoc, oOptions);&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public void Export3DPdf()
        {
            Inventor.Application InvApp = mApp;

            Inventor.ApplicationAddIn  PDFAddin = null ;

            foreach (ApplicationAddIn appAddin in mApp.ApplicationAddIns )
            {
                if (appAddin.ClassIdString == "{3EE52B28-D6E0-4EA4-8AA6-C2A266DEBB88}")
                {
                    PDFAddin =  appAddin;
                    break;
                }
            }

            dynamic pdfConvertor3d = PDFAddin.Automation;

            Document oDoc = mApp.ActiveDocument;
            // Create a NameValueMap object
            Inventor.NameValueMap oOptions = InvApp.TransientObjects.CreateNameValueMap();
            
            oOptions.Value["FileOutputLocation"] = @"c:\temp\3DPDF.pdf";
            oOptions.Value["ExportAllProperties"] = true;
            oOptions.Value["GenerateAndAttachSTEPFile"] = true ;
            oOptions.Value["ExportTemplate"] = @"C:\Users\Public\Documents\Autodesk\Inventor 2019\Templates\Sample Part Template.pdf";
            oOptions.Value["VisualizationQuality"] = AccuracyEnum.kHigh;

            //string[] sProps = new string[1];
            //sProps[0] = "{F29F85E0-4FF9-1068-AB91-08002B27B3D9}:Title";
            //oOptions.Value["ExportAllProperties"] = false; 
            //oOptions.Value["ExportProperties"] = sProps;

            String[] sDesignViews = new string[] { "Master", "View1" }; 
            oOptions.Value["ExportDesignViewRepresentations"] = sDesignViews;

            pdfConvertor3d.Publish(oDoc, oOptions);

        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:55:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12711302#M11267</guid>
      <dc:creator>manasi_patilESZTV</dc:creator>
      <dc:date>2024-04-16T07:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: 3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12716468#M11268</link>
      <description>&lt;P&gt;Get Error while converting&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 06:34:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12716468#M11268</guid>
      <dc:creator>manasi_patilESZTV</dc:creator>
      <dc:date>2024-04-18T06:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: 3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12716796#M11269</link>
      <description>&lt;P&gt;I tested your code, and the issue is in type of variable &lt;EM&gt;&lt;STRONG&gt;oDoc&lt;/STRONG&gt;&lt;/EM&gt;. This variable MUST be of type &lt;EM&gt;&lt;STRONG&gt;_Document&lt;/STRONG&gt;&lt;/EM&gt; instead of &lt;EM&gt;&lt;STRONG&gt;Document&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Document oDoc = mApp.ActiveDocument; //DOESN'T WORK
_Document oDoc = mApp.ActiveDocument;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 09:15:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12716796#M11269</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2024-04-18T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: 3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12716892#M11270</link>
      <description>&lt;P&gt;I try for this code but still give same error.&lt;/P&gt;&lt;PRE&gt;_Document oDoc = mApp.ActiveDocument;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 10:03:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12716892#M11270</guid>
      <dc:creator>manasi_patilESZTV</dc:creator>
      <dc:date>2024-04-18T10:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: 3D PDF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12717645#M11271</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14881060"&gt;@manasi_patilESZTV&lt;/a&gt;&amp;nbsp;check if template&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;C:\Users\Public\Documents\Autodesk\Inventor 2019\Templates\Sample Part Template.pdf&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;exists and designView "View1" exists in your assembly (lines 25 and 33 in your code).&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 14:42:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/3d-pdf/m-p/12717645#M11271</guid>
      <dc:creator>StKrause</dc:creator>
      <dc:date>2024-04-18T14:42:17Z</dc:date>
    </item>
  </channel>
</rss>

