ChoiceParameterValue.getChoices Method
Parent Object:
ChoiceParameterValueDefined in namespace "adsk::cam" and the header file is <Cam/Operations/ChoiceParameterValue.h>
Description
Method that returns the list of available choices.
Syntax
"choiceParameterValue_var" is a variable referencing a ChoiceParameterValue object.
(returnValue, names, values) = choiceParameterValue_var.getChoices()
|
#include <Cam/Operations/ChoiceParameterValue.h
// Declare the output arguments. string[] names; string[] values; boolean returnValue = choiceParameterValue_var->getChoices(names, values);
|
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 possible values returned by the values argument. |
values |
string[] |
An array of the possible values. These coincide with the array of names returned by the names argument. |
Version
Introduced in version September 2021