Hi all,
When I export to DWF using the API I get the following warnings (screenshots attached):
Adobe PDF cannot be used with A1 to A2 print
settings. The <in-session> print settings will be
used.
(see Print Settings Warning.png)
and:
Revit will use raster printing because this view
uses shading, shadows, or gradients.
(see Force Raster Printing.png)
The first warning occurs when I access the PrintSetup (Document.PrintManager.PrintSetup). Even if I do:
Document.PrintManager.PrintSetup.CurrentPrintSetting = Document.PrintManager.PrintSetup.InSession;
I understand the reason for the warning, but since I'm creating my own PrintSetting for the export the warning is irrelevant and annoying, and prevents the process from being fully automated.
The second warning about Revit forcing raster printing only seems to be an issue when exporting via the API. I've modified my Revit.ini with the following setting so that the dialog should be suppressed:
[Messages]
SuppressForceRasterPrintingWarning=1
This works when I export through Revit's GUI, but as soon as I call Document.Export() Revit changes this setting back to 0 and the warning is displayed if the sheet uses any of the above mentioned elements. My first thought here was something to do with UAC / VirtualStore, but I've verified that that is not the case. This really seems like a bug in the API, but I'm wondering if anyone knows of a way to work around this?
Does anyone have any advice on how to deal with either of these two warnings?
Thanks.