ChoiceProperty.getChoices Method
Parent Object:
ChoicePropertyDefined in namespace "adsk::core" and the header file is <Core/Application/ChoiceProperty.h>
Description
Method that returns the list of available choices.
Syntax
"choiceProperty_var" is a variable referencing a ChoiceProperty object.
(returnValue, names, choices) = choiceProperty_var.getChoices()
|
#include <Core/Application/ChoiceProperty.h
// Declare the output arguments. string[] names; string[] choices; boolean returnValue = choiceProperty_var->getChoices(names, choices);
|
Return Value
boolean |
Returns true if the call was successful. |
Parameters
names |
string[] |
An array of the names of the choices. These coincide with the array of choices returned by the choices argument. |
choices |
string[] |
An array of the choices. These coincide with the array of names returned by the names argument. |
Version
Introduced in version August 2014