CreateDrawingInput.sheetSize Property

Parent Object: CreateDrawingInput

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


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

Description

Gets and sets the sheet size. This defaults to A3ISOSheetSize. Check the drawing standard via the standard property before setting — ISO sizes (A0–A4) are only applicable when the standard is ISO, and ASME sizes (A–E) are only applicable when the standard is ASME. Setting a size that does not match the active standard will have no effect. To specify a custom sheet size, use the setCustomSheetSize method instead — CustomSheetSize cannot be set directly. When the standard is ISO and the sheet size is A0ISOSheetSize, orientation cannot be set to PortraitSheetOrientationType. When the standard is ASME and the sheet size is EASMESheetSize, orientation cannot be set to PortraitSheetOrientationType.

Syntax

"createDrawingInput_var" is a variable referencing a CreateDrawingInput object.
# Get the value of the property.
propertyValue = createDrawingInput_var.sheetSize

# Set the value of the property.
createDrawingInput_var.sheetSize = propertyValue
"createDrawingInput_var" Is a variable referencing a CreateDrawingInput Object.
#include <Drawing/Drawing/CreateDrawingInput.h>

// Get the value of the property.
SheetSizes propertyValue = createDrawingInput_var->sheetSize();

// Set the value of the property, where value_var is a SheetSizes.
bool returnValue = createDrawingInput_var->sheetSize(value_var);
"createDrawingInput_var" Is a variable referencing a CreateDrawingInput Object.
// Get the value of the property.
propertyValue = createDrawingInput_var.sheetSize;

// Set the value of the property.
createDrawingInput_var.sheetSize = propertyValue;

Property Value

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

Version

Introduced in version July 2026