UserInterface.createProgressDialog Method

Parent Object: UserInterface
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/UserInterface.h>

Description

Creates a new ProgressDialog object that you can use to display and control a progress dialog.

Syntax

"userInterface_var" is a variable referencing a UserInterface object.

returnValue = userInterface_var.createProgressDialog()
"userInterface_var" is a variable referencing a UserInterface object.

#include <Core/UserInterface/UserInterface.h>

returnValue = userInterface_var->createProgressDialog();
"userInterface_var" is a variable referencing a UserInterface object.

returnValue = userInterface_var.createProgressDialog();

Return Value

Type Description
ProgressDialog Returns the created ProgressDialog object that you can use to define the contents of and display a progress dialog.

Samples

Name Description
Generate Toolpaths API Sample

Demonstrates generating the toolpaths in the active document.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. Use a design with CAM data as required by the script. Many CAM samples switch to the MANUFACTURE workspace and may need an existing setup or manufacturing model.

Progress Dialog API Sample

Demonstrates how to use progress dialog.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version January 2016