SelectionCommandInput.getSelectionLimits Method

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

Description

Get the limits currently defined for this input.

Syntax

"selectionCommandInput_var" is a variable referencing a SelectionCommandInput object.

(returnValue, minimum, maximum) = selectionCommandInput_var.getSelectionLimits()

#include <Core/UserInterface/SelectionCommandInput.h

// Declare the output arguments.
uinteger minimum;
uinteger maximum;
boolean returnValue = selectionCommandInput_var->getSelectionLimits(minimum, maximum);

Return Value

Type Description
boolean Returns true if the selection limits were successfully returned.

Parameters

Name Type Description
minimum uinteger The minimum number of selections required. A value of zero means that there is no minimum limit.
maximum uinteger The maximum number of selections required. A value of zero means that there is no maximum limit.

Version

Introduced in version August 2014