PDFExportOptions.sheetRange Property

Parent Object: PDFExportOptions
Defined in namespace "adsk::drawing" and the header file is <Drawing/Drawing/PDFExportOptions.h>

Description

Defines the range of sheets to export. This can be a string like "1-3" or "1-2,5" where you can define a range of sheets and also specific sheets. Setting this property will automatically set the sheetsToExport setting to SelectedPDFSheets.

Syntax

"pDFExportOptions_var" is a variable referencing a PDFExportOptions object.
# Get the value of the property.
propertyValue = pDFExportOptions_var.sheetRange

# Set the value of the property.
pDFExportOptions_var.sheetRange = propertyValue
"pDFExportOptions_var" Is a variable referencing a PDFExportOptions Object.
#include <Drawing/Drawing/PDFExportOptions.h>

// Get the value of the property.
string propertyValue = pDFExportOptions_var->sheetRange();

// Set the value of the property, where value_var is a string.
bool returnValue = pDFExportOptions_var->sheetRange(value_var);
"pDFExportOptions_var" Is a variable referencing a PDFExportOptions Object.
// Get the value of the property.
propertyValue = pDFExportOptions_var.sheetRange;

// Set the value of the property.
pDFExportOptions_var.sheetRange = propertyValue;

Property Value

This is a read/write property whose value is a string.

Samples

Name Description
Export PDF Sample Demonstrates how to export a Fusion 360 drawing document to PDF using the DrawingExportManager. Shows how to configure PDFExportOptions including sheet selection (all sheets, a specific range, or the current sheet), line weights, and range-based export.

Version

Introduced in version December 2020