DrawingManager.createDrawingInput Method

Parent Object: DrawingManager

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/DrawingManager.h>

Description

Creates an input object that is used to define all of the settings needed to create a new drawing. After editing the returned input object, you can use it as input to a create method to create the new drawing.

Syntax

"drawingManager_var" is a variable referencing a DrawingManager object.

returnValue = drawingManager_var.createDrawingInput(design, creationMode)
"drawingManager_var" is a variable referencing a DrawingManager object.

#include <Drawing/Drawing/DrawingManager.h>

returnValue = drawingManager_var->createDrawingInput(design, creationMode);
"drawingManager_var" is a variable referencing a DrawingManager object.

returnValue = drawingManager_var.createDrawingInput(design, creationMode);

Return Value

Type Description
CreateDrawingInput CreateDrawingInput object, or null on failure.

Parameters

Name Type Description
design DataFile DataFile containing the source design.
creationMode DrawingCreationModes AutomaticDrawingCreationMode or ManualDrawingCreationMode.

Samples

Name Description
Create Automatic Drawing Sample Demonstrates how to use the DrawingManager to automatically create a drawing from an existing Fusion 360 design. Configures sheet standard, units, size, and content options, then starts the background drawing creation process using createAutomaticDrawing.

Version

Introduced in version July 2026