Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PDF TranslatorAddIn options

3 REPLIES 3
Reply
Message 1 of 4
aales
678 Views, 3 Replies

PDF TranslatorAddIn options

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

3 REPLIES 3
Message 2 of 4
xiaodong_liang
in reply to: aales

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
Message 3 of 4
aales
in reply to: xiaodong_liang

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?

Message 4 of 4
xiaodong_liang
in reply to: aales

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report