ProgressDialog.progressValue Property

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

Description

Gets and sets the current progress bar value. Progress is determined based on this value relative to the minimum and maximum values. This will update the values displayed in the message string.

Syntax

"progressDialog_var" is a variable referencing a ProgressDialog object.

# Get the value of the property.
propertyValue = progressDialog_var.progressValue

# Set the value of the property.
progressDialog_var.progressValue = propertyValue
"progressDialog_var" is a variable referencing a ProgressDialog object.
#include <Core/UserInterface/ProgressDialog.h>

// Get the value of the property.
integer propertyValue = progressDialog_var->progressValue();

// Set the value of the property, where value_var is an integer.
bool returnValue = progressDialog_var->progressValue(value_var);

Property Value

This is a read/write property whose value is an integer.

Samples

Name Description
Generate Toolpaths API Sample Demonstrates generating the toolpaths in the active document.
Progress Dialog API Sample Demonstrates how to use progress dialog

Version

Introduced in version January 2016