CreateDrawingInput.customSize 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 or sets the custom sheet size for the drawing.

Remarks

The width and height values in are unitless; the unit is determined by the value set via the units API. By default, ISO drawings use millimeters and ASME drawings use inches.

If a custom size has not been set, the getter returns a default object, which can be modified and passed back via the setter to apply it.

For drawing creation, horizontalZones and verticalZones must each be at least 2 (positive integers).

Syntax

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

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

// Get the value of the property.
Ptr<CustomSheetSize> propertyValue = createDrawingInput_var->customSize();

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

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

Property Value

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

Version

Introduced in version July 2026