PDF TranslatorAddIn options

PDF TranslatorAddIn options

aales
Participant Participant
865 Views
3 Replies
Message 1 of 4

PDF TranslatorAddIn options

aales
Participant
Participant

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

0 Likes
866 Views
3 Replies
Replies (3)
Message 2 of 4

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

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
0 Likes
Message 3 of 4

aales
Participant
Participant

Thanks,

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?

0 Likes
Message 4 of 4

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

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.

0 Likes