I am using Inventor 2011. When I display dialog with options for export to PDF in Inventor, all options in this dialog I can set programatically except one - something like Print excluded sheets(I translate it to English from Czech version). This option is accessible when PrintAllSheets or PrintSheetRange option is set.
I can't find it in option values list for PDF in help file. Is it only undocumented or is it not accesible programatically?
Thanks for answers
The sample of the help doc has indicated the options.
' Check whether the translator has 'SaveCopyAs' options If PDFAddIn.HasSaveCopyAsOptions(oDocument, oContext, oOptions) Then ' Options for drawings... oOptions.Value("All_Color_AS_Black") = 0 'oOptions.Value("Remove_Line_Weights") = 0 'oOptions.Value("Vector_Resolution") = 400 'oOptions.Value("Sheet_Range") = kPrintAllSheets 'oOptions.Value("Custom_Begin_Sheet") = 2 'oOptions.Value("Custom_End_Sheet") = 4 End If
I know this part of the help topic. But in the dialog box for PDF is one more option - checkbox Print excluded sheets. (The same checkbox for printing is PrintExcludedSheets property in DrawingPrintManager object in API).
Is this option for PDF accessible programmatically or not?
I was told that this option has not been exposed. Sorry.
probably you could use PDF API to exclude the pages after Inventor produces the PDF.