<?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: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10236545#M26794</link>
    <description>&lt;P&gt;Thank you very much for your constructive input, kind appreciation and glad to hear you are happy with Revit 2022 and its API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I love the development team's fast response as well. It's a shame that some of the old long-standing issues have been dragging along for years. Happily, newer issues often seem to be handled very fast indeed, nowadays.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 06:09:27 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2021-04-14T06:09:27Z</dc:date>
    <item>
      <title>Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10222464#M26787</link>
      <description>&lt;P&gt;Working through the new PDF Export and how to automation the process. I have found that if you use Paper Format&amp;nbsp; as Default and if you have any other layout / format options set it will not Export, nor will it throw an exception. It just doesn't work. It would be nice to allow it to ignore other parameters much like many other settings do or at least throw and exception so you know why.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;PDFExportOptions options = new PDFExportOptions
	{
		ColorDepth = ColorDepthType.Color,
		Combine = false,
		ExportQuality = PDFExportQualityType.DPI600,
		HideCropBoundaries = true,
		PaperFormat = ExportPaperFormat.Default,
		HideReferencePlane = true,
		HideScopeBoxes = true,
		HideUnreferencedViewTags = true,
		MaskCoincidentLines = true,
		//If any of the commented lines are active the Export will not work.
		//PaperPlacement = PaperPlacementType.LowerLeft,
		StopOnError = true,
		//ZoomType = ZoomType.Zoom,
		//ZoomPercentage = 100,
		ViewLinksInBlue = false
	};&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Apr 2021 16:20:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10222464#M26787</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2021-04-08T16:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10223278#M26788</link>
      <description>&lt;P&gt;That sounds like a perfectly valid expectation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you think your description is sufficient to share with the development team as a reproducible case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, I'll go ahead and log a ticket with them for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 21:00:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10223278#M26788</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-04-08T21:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10223281#M26789</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;! I would think that is enough for them, but if not I can provide a test case as well.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 21:04:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10223281#M26789</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2021-04-08T21:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10231036#M26790</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Sean,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you again for your report and sorry to hear about this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I logged the issue &lt;U&gt;&lt;STRONG&gt;REVIT-176004&lt;/STRONG&gt;&lt;/U&gt; [PDF Export fails with Paper Format set as Default with other parameters] with our development team for this on your behalf as it requires further exploration and possibly a modification to our software. Please make a note of this number for future reference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You are welcome to request an update on the status of this issue or to provide additional information on it at any time quoting this change request number.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This issue is important to me. What can I do to help?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This issue needs to be assessed by our engineering team and prioritised against all other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Impact on your application and/or your development.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The number of users affected.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The potential revenue impact to you.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The potential revenue impact to Autodesk.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Realistic timescale over which a fix would help you.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 11:49:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10231036#M26790</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-04-12T11:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10233940#M26791</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Sean,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please ignore this initial answer, it is wrong:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;lt;ignore&amp;gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The development team analysed the issue &lt;U&gt;&lt;STRONG&gt;REVIT-176004&lt;/STRONG&gt;&lt;/U&gt; [PDF Export fails with Paper Format set as Default with other parameters] and respond:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I tried the options which the customer provided in the API export call.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It succeeded on exporting pdf files:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;  PDFExportOptions options = new PDFExportOptions
  {
    ColorDepth = ColorDepthType.Color,
    Combine = false,
    ExportQuality = PDFExportQualityType.DPI600,
    HideCropBoundaries = true,
    PaperFormat = ExportPaperFormat.Default,
    HideReferencePlane = true,
    HideScopeBoxes = true,
    HideUnreferencedViewTags = true,
    MaskCoincidentLines = true,
    //If any of the commented lines are active the Export will not work.
    //PaperPlacement = PaperPlacementType.LowerLeft,
    StopOnError = true,
    //ZoomType = ZoomType.Zoom,
    //ZoomPercentage = 100,
    ViewLinksInBlue = false
  };
  
  IList&amp;lt;ElementId&amp;gt; views = new List&amp;lt;ElementId&amp;gt;();
  views.Add(Document.ActiveView.Id);
  Document.Export("E:\\workspace\\Sample", views, options);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note that in the options, the customer set `Combine` to `false`, which means the PDF files will be exported named according to the standard naming rules, even if the `FileName` is set in the options.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is a chance that the customer is not aware of this and just cannot find the PDF file, because they are only looking for `FileName`.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this resolves and explains the issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you confirm that it works after all, please?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;End of wrong initial answer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;lt;/ignore&amp;gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Update:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One hour later, the development team changed their answer and say:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; I can reproduce this on the internal development version. This should indeed throw an exception.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry for the premature initial answer!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We'll see whether they say anything more anon, just wanted to let you know asap that the initial answer was wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your understanding and patience.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 11:11:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10233940#M26791</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-04-13T11:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10234025#M26792</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Sean,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The development team determined the cause for the behaviour you observe and raised a new issue &lt;U&gt;&lt;STRONG&gt;REVIT-176060&lt;/STRONG&gt;&lt;/U&gt; [PDF Export fails with Paper Format set as Default with other parameters] to rectify this in a future version of Revit. Please make a note of this number for future reference. They explain:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By design, if PaperFormat is default, then PaperPlacement should always be Center. However, there is no restriction ensuring this on the API side. We should either silently set PaperPlacement to Center during export, or throw&amp;nbsp; an exception notifying the add-in about this.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your understanding and patience.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 11:46:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10234025#M26792</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-04-13T11:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10235884#M26793</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;for your help and the team's fast response. I will work around this for now, but I am loving the upgrades to Revit 2022 thus far. The Ceiling and Floor sketch is awesome as well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As always, appreciate all of your support!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 21:53:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10235884#M26793</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2021-04-13T21:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Revit 2022 PDF Export Fails with Paper Format set as Default with Other Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10236545#M26794</link>
      <description>&lt;P&gt;Thank you very much for your constructive input, kind appreciation and glad to hear you are happy with Revit 2022 and its API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I love the development team's fast response as well. It's a shame that some of the old long-standing issues have been dragging along for years. Happily, newer issues often seem to be handled very fast indeed, nowadays.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 06:09:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2022-pdf-export-fails-with-paper-format-set-as-default/m-p/10236545#M26794</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-04-14T06:09:27Z</dc:date>
    </item>
  </channel>
</rss>

