Click or drag to resize

StatusBarShowProgressMeter Method

Starts, or shows, Rhino's status bar progress meter.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static int ShowProgressMeter(
	int lowerLimit,
	int upperLimit,
	string label,
	bool embedLabel,
	bool showPercentComplete
)

Parameters

lowerLimit
Type: SystemInt32
The lower limit of the progress meter's range.
upperLimit
Type: SystemInt32
The upper limit of the progress meter's range.
label
Type: SystemString
The short description of the progress (e.g. "Calculating", "Meshing", etc)
embedLabel
Type: SystemBoolean
If true, then the label will be embeded in the progress meter. If false, then the label will appear to the left of the progress meter.
showPercentComplete
Type: SystemBoolean
If true, then the percent complete will appear in the progress meter.

Return Value

Type: Int32
1 - The progress meter was created successfully. 0 - The progress meter was not created. -1 - The progress meter was not created because some other process has already created it.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also